Documentation

Reflection
in package

Reflection code 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

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 $name = null ]) : ClassGenerator
Parameters
$class : mixed
$name : string = null
Return values
ClassGenerator

createDocblock()

Create docblock

public static createDocblock(mixed $docblock[, int $forceIndent = null ]) : DocblockGenerator
Parameters
$docblock : mixed
$forceIndent : int = null
Return values
DocblockGenerator

createMethod()

Create method

public static createMethod(mixed $method[, string $name = null ]) : MethodGenerator
Parameters
$method : mixed
$name : string = null
Return values
MethodGenerator

createProperty()

Create property

public static createProperty(mixed $property[, string $name = null ][, mixed $value = null ]) : PropertyGenerator
Parameters
$property : mixed
$name : string = null
$value : mixed = null
Return values
PropertyGenerator

createTrait()

Create trait

public static createTrait(mixed $trait[, string $name = null ]) : TraitGenerator
Parameters
$trait : mixed
$name : string = null
Return values
TraitGenerator

Search results