Properties

$name

$name : string

Name

Type

string

$indent

$indent : integer

Code indent spaces

Type

integer

$output

$output : string

Output string

Type

string

$constants

$constants : array

Array of constant generator objects

Type

array

$methods

$methods : array

Array of method generator objects

Type

array

Methods

getName()

getName() : string

Get the name

Returns

string

hasName()

hasName() : boolean

Get the name

Returns

boolean

hasNamespace()

hasNamespace() : boolean

Has a namespace generator object

Returns

boolean

hasDocblock()

hasDocblock() : boolean

Has docblock generator object

Returns

boolean

getDesc()

getDesc() : string

Get the docblock description

Returns

string

hasDesc()

hasDesc() : boolean

Has a docblock description

Returns

boolean

getIndent()

getIndent() : integer

Get the indent

Returns

integer

hasIndent()

hasIndent() : boolean

Has indent

Returns

boolean

printIndent()

printIndent() : string

Print the indent

Returns

string

getOutput()

getOutput() : string

Get the output

Returns

string

hasOutput()

hasOutput() : boolean

Has output

Returns

boolean

isRendered()

isRendered() : boolean

Is rendered (alias to hasOutput())

Returns

boolean

render()

render() : string

Render method

Returns

string

hasConstant()

hasConstant(mixed  $constant) : boolean

Has a constant

Parameters

mixed $constant

Returns

boolean

hasConstants()

hasConstants() : boolean

Has constants

Returns

boolean

getConstants()

getConstants() : array

Get all constants

Returns

array

hasMethod()

hasMethod(mixed  $method) : boolean

Has a method

Parameters

mixed $method

Returns

boolean

hasMethods()

hasMethods() : boolean

Has methods

Returns

boolean

getMethods()

getMethods() : array

Get all methods

Returns

array