Метод |
Описание |
|
attributesToString ( $attributes ) |
|
|
buildClassName ( string $name ) : string |
|
|
camelCaseToDelimiter ( string $string, null | string $delimiter = '-' ) : string |
find capitals and convert to delimiter + lowercase |
|
camelCaseToDelimiterArray ( $array, $delimiter = '-' ) |
|
|
cleanClassName ( string $name ) : camelCased |
removes the header from a classname |
|
delimiterToCamelCase ( string $string, null | string $delimiter = '[\-\_]' ) : string |
convert alpha-beta-gamma to alphaBetaGamma |
|
delimiterToCamelCaseArray ( $array, $delimiter = '[\-\_]' ) |
|
|
delimiterToUnderscore ( string $string ) : string |
convert alpha-beta-gamma to alpha_beta_gamma |
|
delimiterToUnderscoreArray ( $array ) |
|
|
extractAttributeAsArray ( array &$attribArray, string $attributeName ) : array |
extracts an attribute and returns an array of objects |
|
implodeAssociativeArray ( array $array, string $separator = '=', string $glue = ', ' ) : boolean |
|
|
returnObjectOrThrowException ( string $className, object $resultObj ) : object |
|
|
throwStatusCodeException ( string $statusCode, null | string $message = null ) : void |
throws an exception based on the type of error |
|
verifyKeys ( array $signature, array $attributes ) |
verify user request structure |
|