PHP Trait Bolt\Storage\CaseTransformTrait

Afficher le fichier Open project: bolt/bolt

Méthodes publiques

Méthode Description
camelize ( string $id ) : string Converts a string from underscored to Camel Case.
underscore ( string $id ) : string Converts a string from camel case to underscored.

Method Details

camelize() public méthode

Converts a string from underscored to Camel Case.
public camelize ( string $id ) : string
$id string A string to camelize
Résultat string The camelized string

underscore() public méthode

Converts a string from camel case to underscored.
public underscore ( string $id ) : string
$id string The string to underscore
Résultat string The underscored string