Documentation

Reflection
in package

Reflection code class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
5.0.0

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

createFunction()

Create function

public static createFunction(mixed $function[, string|null $name = null ]) : FunctionGenerator
Parameters
$function : mixed
$name : string|null = null
Tags
throws
ReflectionException
Return values
FunctionGenerator

createMethod()

Create method

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

createProperty()

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
PropertyGenerator

        
On this page

Search results