Documentation

AbstractMemberGenerator extends AbstractGenerator
in package

AbstractYes

Table of Contents

Constants

FLAG_ABSTRACT  = 0x1
FLAG_FINAL  = 0x2
FLAG_INTERFACE  = 0x8
FLAG_PRIVATE  = 0x40
FLAG_PROTECTED  = 0x20
FLAG_PUBLIC  = 0x10
FLAG_STATIC  = 0x4
LINE_FEED  = "\n"
Line feed to use in place of EOL
VISIBILITY_PRIVATE  = 'private'
VISIBILITY_PROTECTED  = 'protected'
VISIBILITY_PUBLIC  = 'public'

Properties

$docBlock  : DocBlockGenerator|null
$flags  : int
$indentation  : string
$isSourceDirty  : bool
$name  : string
$sourceContent  : string|null
TODO: Type should be changed to "string" in the next major version. Nullable for BC

Methods

__construct()  : mixed
addFlag()  : AbstractMemberGenerator
getDocBlock()  : DocBlockGenerator|null
getIndentation()  : string
getName()  : string
getSourceContent()  : string|null
getVisibility()  : mixed
isAbstract()  : bool
isFinal()  : bool
isInterface()  : bool
isSourceDirty()  : bool
isStatic()  : bool
removeDocBlock()  : void
removeFlag()  : AbstractMemberGenerator
setAbstract()  : AbstractMemberGenerator
setDocBlock()  : AbstractMemberGenerator
setFinal()  : AbstractMemberGenerator
setFlags()  : AbstractMemberGenerator
setIndentation()  : AbstractGenerator
setInterface()  : AbstractMemberGenerator
setName()  : AbstractMemberGenerator
setOptions()  : AbstractGenerator
setSourceContent()  : AbstractGenerator
setSourceDirty()  : AbstractGenerator
setStatic()  : AbstractMemberGenerator
setVisibility()  : AbstractMemberGenerator

Constants

Properties

$sourceContent

TODO: Type should be changed to "string" in the next major version. Nullable for BC

protected string|null $sourceContent = null

Methods

__construct()

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

getSourceContent()

public getSourceContent() : string|null
Return values
string|null

        
On this page

Search results