Méthode |
Description |
|
__construct ( ) |
|
|
comma ( string $input ) : string |
|
|
convertAllFiles ( boolean $force, array $path, string | null $input = null ) |
Project file converter
Will locate ever file in the project and convert in automagicly |
|
dePluralize ( string $noun ) : string |
Converts a noun until it's ready |
|
displayErrors ( ) |
Displays all Errors or notices |
|
error ( string $message ) |
Error or notice collector |
|
fromCamelToSnake ( string $input ) : string |
|
|
getCorrectSourceVersion ( ) : string |
Get Correct version looks a the project version
to find and return it's source directory |
|
getFile ( string $input ) : string |
Return the file content of a given file |
|
isFile ( string $file ) : boolean |
File checker |
|
pregReplaceIterations ( string $fileData ) : string |
Iteration Converter |
|
pregReplaceSprintf ( string $regex, string $format, string $fileData, $extra = null ) : string |
preg_replace sprint_f
Combines 2 function into one that's more ideal for parsing
as it string replaces any found matches with a new given value |
|
ruleParser ( string $fileData ) : string |
The actual conversion |
|
start ( array $arguments ) |
Start Converter |
|
timestamp ( integer $int = null ) : float |
Stamps the time it takes from start to finnish |
|
write ( string $input, string $fileData ) |
Write saves to content to a new file |
|