Properties

$name

$name : string

Name

Type

string

$indent

$indent : integer

Code indent spaces

Type

integer

$output

$output : string

Output string

Type

string

$visibility

$visibility : string

Visibility

Type

string

$static

$static : boolean

Static flag

Type

boolean

Methods

getName()

getName() : string

Get the name

Returns

string

hasName()

hasName() : boolean

Get the name

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

isPublic()

isPublic() : boolean

Is visibility public

Returns

boolean

isProtected()

isProtected() : boolean

Set the visibility to protected

Returns

boolean

isPrivate()

isPrivate() : boolean

Set the visibility to private

Returns

boolean

getVisibility()

getVisibility() : string

Get the visibility

Returns

string

isStatic()

isStatic() : boolean

Get the static flag

Returns

boolean