PHP Class Joli\Jane\Generator\Naming

...
显示文件 Open project: jolicode/jane Class Usage Examples

Public Methods

Method Description
getClassName ( $name ) : string Get a class name
getPrefixedMethodName ( $prefix, $name ) : string Get a method name given a prefix
getPropertyName ( $name ) : string Get a property name

Protected Methods

Method Description
replaceDollar ( $name ) : mixed

Method Details

getClassName() public method

Get a class name
public getClassName ( $name ) : string
$name
return string

getPrefixedMethodName() public method

Get a method name given a prefix
public getPrefixedMethodName ( $prefix, $name ) : string
$prefix
$name
return string

getPropertyName() public method

Get a property name
public getPropertyName ( $name ) : string
$name
return string

replaceDollar() protected method

protected replaceDollar ( $name ) : mixed
$name
return mixed