\ManaPHP\HelperStr

Summary

Methods
Properties
Constants
contains()
startsWith()
endsWith()
underscore()
camelize()
random()
uuid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

contains()

contains(string  $haystack, string  $needle, boolean  $ignoreCase = false) : boolean

Parameters

string $haystack
string $needle
boolean $ignoreCase

Returns

boolean

startsWith()

startsWith(string  $haystack, string  $needle, boolean  $ignoreCase = false) : boolean

Parameters

string $haystack
string $needle
boolean $ignoreCase

Returns

boolean

endsWith()

endsWith(string  $haystack, string  $needle, boolean  $ignoreCase = false) : boolean

Parameters

string $haystack
string $needle
boolean $ignoreCase

Returns

boolean

underscore()

underscore(string  $str) : string

Parameters

string $str

Returns

string

camelize()

camelize(string  $str) : string

Parameters

string $str

Returns

string

random()

random(string  $length, integer  $base = 62) : string

Parameters

string $length
integer $base

Returns

string

uuid()

uuid() : string

Returns

string