libSmalldb  v2.0.2
Public Member Functions | Protected Member Functions | List of all members
ReferenceClassGenerator Class Reference

Inheritance diagram for ReferenceClassGenerator

Public Member Functions

 __construct (SmalldbClassGenerator $classGenerator)
 
 generateReferenceClass (string $sourceReferenceClassName, StateMachineDefinition $definition)
 Generate a new class implementing the missing methods in $sourceReferenceClassName. More...
 

Protected Member Functions

 getDecoratingGenerator ()
 
 getInheritingGenerator ()
 
 getDummyGenerator ()
 
 getClassGenerator ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( SmalldbClassGenerator  $classGenerator)

Member Function Documentation

◆ getDecoratingGenerator()

getDecoratingGenerator ( )
protected

◆ getInheritingGenerator()

getInheritingGenerator ( )
protected

◆ getDummyGenerator()

getDummyGenerator ( )
protected

◆ generateReferenceClass()

generateReferenceClass ( string  $sourceReferenceClassName,
StateMachineDefinition  $definition 
)

Generate a new class implementing the missing methods in $sourceReferenceClassName.

Returns
string Class name of the implementation.
Exceptions
ReflectionException

◆ getClassGenerator()

getClassGenerator ( )
protectedinherited