Documentation

AbstractClassElementGenerator extends AbstractGenerator
in package
Uses NameTrait, DocblockTrait

Abstract class generator class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2023 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.1.0

Table of Contents

$docblock  : DocblockGenerator
Docblock generator object
$indent  : int
Code indent spaces
$name  : string
Name
$output  : string
Output string
$static  : bool
Static flag
$visibility  : string
Visibility
getDesc()  : string
Get the docblock description
getDocblock()  : DocblockGenerator
Access the docblock generator object
getIndent()  : int
Get the indent
getName()  : string
Get the name
getOutput()  : string
Get the output
getVisibility()  : string
Get the visibility
hasDesc()  : bool
Has a docblock description
hasDocblock()  : bool
Has docblock generator object
hasIndent()  : bool
Has indent
hasName()  : bool
Get the name
hasOutput()  : bool
Has output
isPrivate()  : bool
Set the visibility to private
isProtected()  : bool
Set the visibility to protected
isPublic()  : bool
Is visibility public
isRendered()  : bool
Is rendered (alias to hasOutput())
isStatic()  : bool
Get the static flag
printIndent()  : string
Print the indent
render()  : string
Render method
setAsPrivate()  : AbstractClassElementGenerator
Set the visibility to public
setAsProtected()  : AbstractClassElementGenerator
Set the visibility to protected
setAsPublic()  : AbstractClassElementGenerator
Set the visibility to public
setAsStatic()  : AbstractClassElementGenerator
Set the static flag
setDesc()  : DocblockTrait
Set the docblock description
setDocblock()  : DocblockTrait
Set the docblock generator object
setIndent()  : AbstractGenerator
Set the indent
setName()  : NameTrait
Set the name
setVisibility()  : AbstractClassElementGenerator
Set the visibility

Properties

Methods

getDesc()

Get the docblock description

public getDesc() : string
Return values
string

getName()

Get the name

public getName() : string
Return values
string

getOutput()

Get the output

public getOutput() : string
Return values
string

hasDesc()

Has a docblock description

public hasDesc() : bool
Return values
bool

hasDocblock()

Has docblock generator object

public hasDocblock() : bool
Return values
bool

hasName()

Get the name

public hasName() : bool
Return values
bool

isRendered()

Is rendered (alias to hasOutput())

public isRendered() : bool
Return values
bool

printIndent()

Print the indent

public printIndent() : string
Return values
string

render()

Render method

public abstract render() : string
Return values
string

Search results