Méthode |
Description |
|
contains ( string $name, string $needle ) : boolean |
Check if the entered project name contains a given string. |
|
createNamespace ( string $namespace, boolean $usesProjectName = false, boolean $useDoubleSlashes = false ) : string |
Construct a correct project namespace name. |
|
isValid ( string $name ) : boolean |
Check if the entered project name is valid. |
|
isWindows ( string $os = PHP_OS ) : boolean |
Check if the operating system is windowsish. |
|
phpVersionIsValid ( string $version ) : boolean |
Validate php version string |
|
split ( string $string ) : array |
Split project name in a pretty array. |
|
toCamelCase ( string $string, boolean $capitalizeFirstCharacter = false ) : string |
Convert string to camel case. |
|
toLower ( string $string ) : string |
Convert string to lower case. |
|
toQuotedKeywords ( string $keywords ) : string |
Convert keywords to quoted keywords. |
|
toStudly ( string $string ) : string |
Convert string to studly case. |
|