PHP PhpSpec\CodeGenerator\Generator Namespace

Interfaces

Name Description
Generator Interface that all Generators need to implement in PhpSpec

Classes

Name Description
ClassGenerator The Class Generator is responsible for generating the classes from a resource in the appropriate folder using the template provided
InterfaceGenerator The Interface Generator is responsible for generating the interface from a resource in the appropriate folder using the template provided
MethodGenerator Generates class methods from a resource
MethodSignatureGenerator Generates interface method signatures from a resource
NamedConstructorGenerator
NewFileNotifyingGenerator
PrivateConstructorGenerator
PromptingGenerator Base class with common behaviour for generating class and spec class
ReturnConstantGenerator
SpecificationGenerator Generates spec classes from resources and puts them into the appropriate folder using the appropriate template.