Lggr
Public Member Functions | List of all members
Prophecy\Doubler\Generator\ClassCreator Class Reference

Public Member Functions

 __construct (ClassCodeGenerator $generator=null)
 
 create ($classname, Node\ClassNode $class)
 

Detailed Description

Class creator. Creates specific class in current environment.

Author
Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com

Constructor & Destructor Documentation

◆ __construct()

Prophecy\Doubler\Generator\ClassCreator::__construct ( ClassCodeGenerator  $generator = null)

Initializes creator.

Parameters
ClassCodeGenerator$generator

Member Function Documentation

◆ create()

Prophecy\Doubler\Generator\ClassCreator::create (   $classname,
Node\ClassNode  $class 
)

Creates class.

Parameters
string$classname
Node\ClassNode$class
Returns
mixed
Exceptions

The documentation for this class was generated from the following file: