Reflection
in package
Reflection code class
Tags
Table of Contents
Methods
- createClass() : ClassGenerator
- Create class
- createDocblock() : DocblockGenerator
- Create docblock
- createFunction() : FunctionGenerator
- Create function
- createInterface() : InterfaceGenerator
- Create interface
- createMethod() : MethodGenerator
- Create method
- createNamespace() : NamespaceGenerator
- Create namespace
- createProperty() : PropertyGenerator
- Create property
- createTrait() : TraitGenerator
- Create trait
Methods
createClass()
Create class
public
static createClass(mixed $class[, string|null $name = null ]) : ClassGenerator
Parameters
- $class : mixed
- $name : string|null = null
Tags
Return values
ClassGeneratorcreateDocblock()
Create docblock
public
static createDocblock(mixed $docblock[, int|null $forceIndent = null ]) : DocblockGenerator
Parameters
- $docblock : mixed
- $forceIndent : int|null = null
Tags
Return values
DocblockGeneratorcreateFunction()
Create function
public
static createFunction(mixed $function[, string|null $name = null ]) : FunctionGenerator
Parameters
- $function : mixed
- $name : string|null = null
Tags
Return values
FunctionGeneratorcreateInterface()
Create interface
public
static createInterface(mixed $interface[, string|null $name = null ]) : InterfaceGenerator
Parameters
- $interface : mixed
- $name : string|null = null
Tags
Return values
InterfaceGeneratorcreateMethod()
Create method
public
static createMethod(mixed $method[, string|null $name = null ]) : MethodGenerator
Parameters
- $method : mixed
- $name : string|null = null
Return values
MethodGeneratorcreateNamespace()
Create namespace
public
static createNamespace(mixed $namespace[, string|null $name = null ]) : NamespaceGenerator
Parameters
- $namespace : mixed
- $name : string|null = null
Tags
Return values
NamespaceGeneratorcreateProperty()
Create property
public
static createProperty(mixed $property[, string|null $name = null ][, mixed $value = null ]) : PropertyGenerator
Parameters
- $property : mixed
- $name : string|null = null
- $value : mixed = null
Return values
PropertyGeneratorcreateTrait()
Create trait
public
static createTrait(mixed $trait[, string|null $name = null ]) : TraitGenerator
Parameters
- $trait : mixed
- $name : string|null = null