class ClassType extends Object

Class/Interface/Trait description.

Methods

static ClassType
from($from)

No description

__construct($name = NULL)

No description

addConst($name, $value)

No description

addProperty($name, $value = NULL)

No description

addMethod($name)

No description

string
__toString()

No description

setName(string $)

No description

string
getName()

No description

setType(string $)

No description

string
getType()

No description

setFinal(bool $)

No description

bool
isFinal()

No description

setAbstract(bool $)

No description

bool
isAbstract()

No description

setExtends(string[]|string $)

No description

string[]|string
getExtends()

No description

addExtend(string $)

No description

setImplements(string[] $)

No description

string[]
getImplements()

No description

addImplement(string $)

No description

setTraits(string[] $)

No description

string[]
getTraits()

No description

addTrait(string $)

No description

setDocuments(string[] $)

No description

string[]
getDocuments()

No description

addDocument(string $)

No description

setConsts(scalar[] $)

No description

scalar[]
getConsts()

No description

setProperties(Property[] $)

No description

Property[]
getProperties()

No description

setMethods(Method[] $)

No description

Method[]
getMethods()

No description

Details

at line 83
static ClassType from($from)

No description

Parameters

$from

Return Value

ClassType

at line 119
__construct($name = NULL)

No description

Parameters

$name

at line 126
ClassType addConst($name, $value)

No description

Parameters

$name
$value

Return Value

ClassType

at line 134
Property addProperty($name, $value = NULL)

No description

Parameters

$name
$value

Return Value

Property

at line 142
Method addMethod($name)

No description

Parameters

$name

Return Value

Method

at line 155
string __toString()

No description

Return Value

string

PHP code

at line 46
ClassType setName(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
string getName()

No description

Return Value

string

at line 46
ClassType setType(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
string getType()

No description

Return Value

string

at line 46
ClassType setFinal(bool $)

No description

Parameters

bool $

Return Value

ClassType

at line 46
bool isFinal()

No description

Return Value

bool

at line 46
ClassType setAbstract(bool $)

No description

Parameters

bool $

Return Value

ClassType

at line 46
bool isAbstract()

No description

Return Value

bool

at line 46
ClassType setExtends(string[]|string $)

No description

Parameters

string[]|string $

Return Value

ClassType

at line 46
string[]|string getExtends()

No description

Return Value

string[]|string

at line 46
ClassType addExtend(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
ClassType setImplements(string[] $)

No description

Parameters

string[] $

Return Value

ClassType

at line 46
string[] getImplements()

No description

Return Value

string[]

at line 46
ClassType addImplement(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
ClassType setTraits(string[] $)

No description

Parameters

string[] $

Return Value

ClassType

at line 46
string[] getTraits()

No description

Return Value

string[]

at line 46
ClassType addTrait(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
ClassType setDocuments(string[] $)

No description

Parameters

string[] $

Return Value

ClassType

at line 46
string[] getDocuments()

No description

Return Value

string[]

at line 46
ClassType addDocument(string $)

No description

Parameters

string $

Return Value

ClassType

at line 46
ClassType setConsts(scalar[] $)

No description

Parameters

scalar[] $

Return Value

ClassType

at line 46
scalar[] getConsts()

No description

Return Value

scalar[]

at line 46
ClassType setProperties(Property[] $)

No description

Parameters

Property[] $

Return Value

ClassType

at line 46
Property[] getProperties()

No description

Return Value

Property[]

at line 46
ClassType setMethods(Method[] $)

No description

Parameters

Method[] $

Return Value

ClassType

at line 46
Method[] getMethods()

No description

Return Value

Method[]