Index
A
- AbstractBuilder — Class in namespace gossi\codegen\generator\builder
- AbstractModel — Class in namespace gossi\codegen\model
- Parent of all models
- AbstractPhpMember — Class in namespace gossi\codegen\model
- Abstract PHP member class.
- AbstractPhpStruct — Class in namespace gossi\codegen\model
- Represents an abstract php structure (class, trait or interface).
- AbstractPhpStruct::addRequiredFile() — Method in class AbstractPhpStruct
- Adds a new required file
- AbstractPhpStruct::addUseStatement() — Method in class AbstractPhpStruct
- Adds a use statement with an optional alias
- RoutineInterface::addParameter() — Method in class RoutineInterface
- Adds a parameter
- RoutineInterface::addSimpleParameter() — Method in class RoutineInterface
- A quick way to add a parameter which is created from the given parameters
- RoutineInterface::addSimpleDescParameter() — Method in class RoutineInterface
- A quick way to add a parameter with description which is created from the given parameters
- TraitsInterface::addTrait() — Method in class TraitsInterface
- Adds a trait.
- AbstractPart — Class in namespace gossi\codegen\model\parts
- Abstract Part
- InterfacesPart::addUseStatement() — Method in class InterfacesPart
- Adds a use statement with an optional alias
- InterfacesPart::addInterface() — Method in class InterfacesPart
- Adds an interface.
- ParametersPart::addParameter() — Method in class ParametersPart
- Adds a parameter
- ParametersPart::addSimpleParameter() — Method in class ParametersPart
- A quick way to add a parameter which is created from the given parameters
- ParametersPart::addSimpleDescParameter() — Method in class ParametersPart
- A quick way to add a parameter with description which is created from the given parameters
- TraitsPart::addUseStatement() — Method in class TraitsPart
- Adds a use statement with an optional alias
- TraitsPart::addTrait() — Method in class TraitsPart
- Adds a trait.
- FileParser::addVisitor() — Method in class FileParser
B
- BuilderFactory — Class in namespace gossi\codegen\generator
- AbstractBuilder::build() — Method in class AbstractBuilder
- ClassBuilder::build() — Method in class ClassBuilder
- ConstantBuilder::build() — Method in class ConstantBuilder
- FunctionBuilder::build() — Method in class FunctionBuilder
- InterfaceBuilder::build() — Method in class InterfaceBuilder
- MethodBuilder::build() — Method in class MethodBuilder
- ParameterBuilder::build() — Method in class ParameterBuilder
- PropertyBuilder::build() — Method in class PropertyBuilder
- TraitBuilder::build() — Method in class TraitBuilder
- BodyPart — Class in namespace gossi\codegen\model\parts
- Body Part
C
- CodeFileGeneratorConfig — Class in namespace gossi\codegen\config
- Configuration for code file generation
- CodeGeneratorConfig — Class in namespace gossi\codegen\config
- Configuration for code generation
- CodeFileGenerator — Class in namespace gossi\codegen\generator
- Code file generator.
- CodeGenerator — Class in namespace gossi\codegen\generator
- Code generator
- ComparatorFactory — Class in namespace gossi\codegen\generator
- ComparatorFactory::createUseStatementComparator() — Method in class ComparatorFactory
- Creates a comparator for use statements
- ComparatorFactory::createConstantComparator() — Method in class ComparatorFactory
- Creates a comparator for constants
- ComparatorFactory::createPropertyComparator() — Method in class ComparatorFactory
- Creates a comparator for properties
- ComparatorFactory::createMethodComparator() — Method in class ComparatorFactory
- Creates a comparator for methods
- ClassBuilder — Class in namespace gossi\codegen\generator\builder
- ConstantBuilder — Class in namespace gossi\codegen\generator\builder
- DefaultConstantComparator::compare() — Method in class DefaultConstantComparator
- DefaultMethodComparator::compare() — Method in class DefaultMethodComparator
- DefaultPropertyComparator::compare() — Method in class DefaultPropertyComparator
- DefaultUseStatementComparator::compare() — Method in class DefaultUseStatementComparator
- AbstractPhpStruct::create() — Method in class AbstractPhpStruct
- Creates a new struct
- AbstractPhpStruct::clearUseStatements() — Method in class AbstractPhpStruct
- Clears all use statements
- AbstractPhpStruct::clearMethods() — Method in class AbstractPhpStruct
- Clears all methods
- ConstantsInterface — Class in namespace gossi\codegen\model
- Interface to all php structs that can have constants
- ConstantsInterface::clearConstants() — Method in class ConstantsInterface
- Clears all constants
- PhpConstant::create() — Method in class PhpConstant
- Creates a new PHP constant
- PhpFunction::create() — Method in class PhpFunction
- Creates a new PHP function
- PhpMethod::create() — Method in class PhpMethod
- Creates a new PHP method.
- PhpParameter::create() — Method in class PhpParameter
- Creates a new PHP parameter.
- PhpProperty::create() — Method in class PhpProperty
- Creates a new PHP property
- PropertiesInterface::clearProperties() — Method in class PropertiesInterface
- Clears all properties
- ConstantsPart — Class in namespace gossi\codegen\model\parts
- Constants part
- ConstantsPart::clearConstants() — Method in class ConstantsPart
- Clears all constants
- PropertiesPart::clearProperties() — Method in class PropertiesPart
- Clears all properties
- ClassParserVisitor — Class in namespace gossi\codegen\parser\visitor
- ConstantParserVisitor — Class in namespace gossi\codegen\parser\visitor
D
- DefaultConstantComparator — Class in namespace gossi\codegen\generator\comparator
- Default property comparator
- DefaultMethodComparator — Class in namespace gossi\codegen\generator\comparator
- Default property comparator
- DefaultPropertyComparator — Class in namespace gossi\codegen\generator\comparator
- Default property comparator
- DefaultUseStatementComparator — Class in namespace gossi\codegen\generator\comparator
- Default use statement comparator
- AbstractPhpStruct::declareUses() — Method in class AbstractPhpStruct
- Declares multiple use statements at once.
- AbstractPhpStruct::declareUse() — Method in class AbstractPhpStruct
- Declares a "use $fullClassName" with " as $alias" if $alias is available, and returns its alias (or not qualified classname) to be used in your actual php code.
- DocblockInterface — Class in namespace gossi\codegen\model
- Docblock interface to represent models that have a docblock
- DocblockPart — Class in namespace gossi\codegen\model\parts
- Docblock Part
E
- Writer::endsWith() — Method in class Writer
- FileParser::enterNode() — Method in class FileParser
F
- FunctionBuilder — Class in namespace gossi\codegen\generator\builder
- PhpClass::fromReflection() — Method in class PhpClass
- Creates a PHP class from reflection
- PhpClass::fromFile() — Method in class PhpClass
- Creates a PHP class from file
- PhpFunction::fromReflection() — Method in class PhpFunction
- Creates a PHP function from reflection
- PhpInterface::fromReflection() — Method in class PhpInterface
- Creates a PHP interface from reflection
- PhpInterface::fromFile() — Method in class PhpInterface
- Creates a PHP interface from file
- PhpParameter::fromReflection() — Method in class PhpParameter
- Creates a PHP parameter from reflection
- PhpTrait::fromReflection() — Method in class PhpTrait
- Creates a PHP trait from reflection
- PhpTrait::fromFile() — Method in class PhpTrait
- Creates a PHP trait from a file
- FinalPart — Class in namespace gossi\codegen\model\parts
- Abstract Part
- FileParser — Class in namespace gossi\codegen\parser
G
- CodeFileGeneratorConfig::getHeaderComment() — Method in class CodeFileGeneratorConfig
- Returns the file header comment
- CodeFileGeneratorConfig::getHeaderDocblock() — Method in class CodeFileGeneratorConfig
- Returns the file header docblock
- CodeFileGeneratorConfig::getBlankLineAtEnd() — Method in class CodeFileGeneratorConfig
- Returns whether a blank line should be generated at the end of the file
- CodeFileGeneratorConfig::getDeclareStrictTypes() — Method in class CodeFileGeneratorConfig
- Returns whether a
declare(strict_types=1);statement should be printed below the header comments (PHP 7) - CodeGeneratorConfig::getGenerateDocblock() — Method in class CodeGeneratorConfig
- Returns whether docblocks should be generated
- CodeGeneratorConfig::getGenerateEmptyDocblock() — Method in class CodeGeneratorConfig
- Returns whether empty docblocks are generated
- CodeGeneratorConfig::getGenerateScalarTypeHints() — Method in class CodeGeneratorConfig
- Returns whether scalar type hints will be generated for method parameters (PHP 7)
- CodeGeneratorConfig::getUseStatementSorting() — Method in class CodeGeneratorConfig
- Returns the use statement sorting
- CodeGeneratorConfig::getConstantSorting() — Method in class CodeGeneratorConfig
- Returns the constant sorting
- CodeGeneratorConfig::getPropertySorting() — Method in class CodeGeneratorConfig
- Returns the property sorting
- CodeGeneratorConfig::getMethodSorting() — Method in class CodeGeneratorConfig
- Returns the method sorting
- CodeGeneratorConfig::getGenerateReturnTypeHints() — Method in class CodeGeneratorConfig
- Returns whether return type hints will be generated for method parameters (PHP 7)
- BuilderFactory::getBuilder() — Method in class BuilderFactory
- Returns the related builder for the given model
- CodeFileGenerator::getConfig() — Method in class CodeFileGenerator
- Returns the used configuration
- CodeFileGenerator::generate() — Method in class CodeFileGenerator
- Generates code from a given model
- CodeGenerator::getConfig() — Method in class CodeGenerator
- Returns the used configuration
- CodeGenerator::generate() — Method in class CodeGenerator
- Generates code from a given model
- ModelGenerator::getConfig() — Method in class ModelGenerator
- ModelGenerator::getWriter() — Method in class ModelGenerator
- ModelGenerator::getFactory() — Method in class ModelGenerator
- ModelGenerator::generate() — Method in class ModelGenerator
- Writer::getContent() — Method in class Writer
- AbstractModel::getDescription() — Method in class AbstractModel
- Returns this description
- AbstractPhpMember::getVisibility() — Method in class AbstractPhpMember
- Returns the visibility state of this member
- AbstractPhpMember::getParent() — Method in class AbstractPhpMember
- Returns the parent structure to which this member belongs
- AbstractPhpStruct::getRequiredFiles() — Method in class AbstractPhpStruct
- Returns required files
- AbstractPhpStruct::getUseAlias() — Method in class AbstractPhpStruct
- Returns the usable alias for a qualified name
- AbstractPhpStruct::getUseStatements() — Method in class AbstractPhpStruct
- Returns all use statements
- AbstractPhpStruct::getMethod() — Method in class AbstractPhpStruct
- Returns a method
- AbstractPhpStruct::getMethods() — Method in class AbstractPhpStruct
- Returns all methods
- AbstractPhpStruct::getMethodNames() — Method in class AbstractPhpStruct
- Returns all method names
- AbstractPhpStruct::generateDocblock() — Method in class AbstractPhpStruct
- Generates a docblock from provided information
- ConstantsInterface::getConstant() — Method in class ConstantsInterface
- Returns a constant
- ConstantsInterface::getConstants() — Method in class ConstantsInterface
- Returns constants
- ConstantsInterface::getConstantNames() — Method in class ConstantsInterface
- Returns all constant names
- DocblockInterface::getDocblock() — Method in class DocblockInterface
- Returns a docblock
- DocblockInterface::generateDocblock() — Method in class DocblockInterface
- Generates a docblock from provided information
- GenerateableInterface — Class in namespace gossi\codegen\model
- Represents all models that can be generated with a code generator
- GenerateableInterface::generateDocblock() — Method in class GenerateableInterface
- Generates docblock based on provided information
- NamespaceInterface::getNamespace() — Method in class NamespaceInterface
- Returns the namespace
- PhpClass::getParentClassName() — Method in class PhpClass
- Returns the parent class name
- PhpClass::generateDocblock() — Method in class PhpClass
- Generates a docblock from provided information
- PhpConstant::generateDocblock() — Method in class PhpConstant
- PhpFunction::generateDocblock() — Method in class PhpFunction
- PhpInterface::generateDocblock() — Method in class PhpInterface
- PhpMethod::generateDocblock() — Method in class PhpMethod
- Generates docblock based on provided information
- PhpParameter::getDocblockTag() — Method in class PhpParameter
- Returns a docblock tag for this parameter
- PhpParameter::getTypeDescription() — Method in class PhpParameter
- Alias for getDescription()
- PhpProperty::generateDocblock() — Method in class PhpProperty
- Generates docblock based on provided information
- PhpTrait::generateDocblock() — Method in class PhpTrait
- PropertiesInterface::getProperty() — Method in class PropertiesInterface
- Returns a property
- PropertiesInterface::getProperties() — Method in class PropertiesInterface
- Returns a collection of properties
- PropertiesInterface::getPropertyNames() — Method in class PropertiesInterface
- Returns all property names
- RoutineInterface::getParameter() — Method in class RoutineInterface
- Returns a parameter by index or name
- RoutineInterface::getParameters() — Method in class RoutineInterface
- Returns a collection of parameters
- RoutineInterface::getBody() — Method in class RoutineInterface
- Returns the body
- TraitsInterface::getTraits() — Method in class TraitsInterface
- Returns a collection of traits
- ValueInterface::getValue() — Method in class ValueInterface
- Returns the value
- ValueInterface::getExpression() — Method in class ValueInterface
- Returns the expression
- BodyPart::getBody() — Method in class BodyPart
- Returns the body
- ConstantsPart::getConstant() — Method in class ConstantsPart
- Returns a constant.
- ConstantsPart::getConstants() — Method in class ConstantsPart
- Returns all constants
- ConstantsPart::getConstantNames() — Method in class ConstantsPart
- Returns all constant names
- DocblockPart::getDocblock() — Method in class DocblockPart
- Returns the docblock
- InterfacesPart::getNamespace() — Method in class InterfacesPart
- Returns the namespace
- InterfacesPart::getInterfaces() — Method in class InterfacesPart
- Returns the interfaces
- LongDescriptionPart::getLongDescription() — Method in class LongDescriptionPart
- Returns the long description
- NamePart::getName() — Method in class NamePart
- Returns the name
- ParametersPart::getParameter() — Method in class ParametersPart
- Returns a parameter by index or name
- ParametersPart::getParameters() — Method in class ParametersPart
- Returns a collection of parameters
- PropertiesPart::getProperty() — Method in class PropertiesPart
- Returns a property
- PropertiesPart::getProperties() — Method in class PropertiesPart
- Returns a collection of properties
- PropertiesPart::getPropertyNames() — Method in class PropertiesPart
- Returns all property names
- QualifiedNamePart::getNamespace() — Method in class QualifiedNamePart
- Returns the namespace
- QualifiedNamePart::getQualifiedName() — Method in class QualifiedNamePart
- Returns the qualified name
- TraitsPart::getNamespace() — Method in class TraitsPart
- Returns the namespace
- TraitsPart::getTraits() — Method in class TraitsPart
- Returns a collection of traits
- TypeDocblockGeneratorPart::getType() — Method in class TypeDocblockGeneratorPart
- Returns the type
- TypeDocblockGeneratorPart::getTypeDescription() — Method in class TypeDocblockGeneratorPart
- Returns the type description
- TypePart::getType() — Method in class TypePart
- Returns the type
- TypePart::getTypeDescription() — Method in class TypePart
- Returns the type description
- ValuePart::getDefaultValue() — Method in class ValuePart
- ValuePart::getValue() — Method in class ValuePart
- Returns the value
- ValuePart::getExpression() — Method in class ValuePart
- Returns the expression
- ReflectionUtils::getOverrideableMethods() — Method in class ReflectionUtils
- ReflectionUtils::getUnindentedDocComment() — Method in class ReflectionUtils
- ReflectionUtils::getFunctionBody() — Method in class ReflectionUtils
H
- AbstractPhpStruct::hasUseStatement() — Method in class AbstractPhpStruct
- Returns whether the given use statement is present
- AbstractPhpStruct::hasMethod() — Method in class AbstractPhpStruct
- Checks whether a method exists or not
- ConstantsInterface::hasConstant() — Method in class ConstantsInterface
- Checks whether a constant exists
- PropertiesInterface::hasProperty() — Method in class PropertiesInterface
- Checks whether a property exists
- RoutineInterface::hasParameter() — Method in class RoutineInterface
- Checks whether a parameter exists
- TraitsInterface::hasTrait() — Method in class TraitsInterface
- Checks whether a trait exists
- ValueInterface::hasValue() — Method in class ValueInterface
- Checks whether a value or expression is set
- ConstantsPart::hasConstant() — Method in class ConstantsPart
- Checks whether a constant exists
- InterfacesPart::hasInterfaces() — Method in class InterfacesPart
- Checks whether interfaces exists
- InterfacesPart::hasInterface() — Method in class InterfacesPart
- Checks whether an interface exists
- ParametersPart::hasParameter() — Method in class ParametersPart
- Checks whether a parameter exists
- PropertiesPart::hasProperty() — Method in class PropertiesPart
- Checks whether a property exists
- TraitsPart::hasTrait() — Method in class TraitsPart
- Checks whether a trait exists
- ValuePart::hasDefaultValue() — Method in class ValuePart
- ValuePart::hasValue() — Method in class ValuePart
- Checks whether a value or expression is set
- FileParser::hasVisitor() — Method in class FileParser
I
- CodeGeneratorConfig::isSortingEnabled() — Method in class CodeGeneratorConfig
- Returns whether sorting is enabled
- InterfaceBuilder — Class in namespace gossi\codegen\generator\builder
- Writer::indent() — Method in class Writer
- AbstractPhpMember::isStatic() — Method in class AbstractPhpMember
- Returns whether this member is static
- PhpParameter::isPassedByReference() — Method in class PhpParameter
- Returns whether this parameter is passed by reference
- RoutineInterface::isReferenceReturned() — Method in class RoutineInterface
- Returns whether a reference is returned
- ValueInterface::isExpression() — Method in class ValueInterface
- Returns whether an expression is set
- AbstractPart::isAbstract() — Method in class AbstractPart
- Returns whether this is abstract
- FinalPart::isFinal() — Method in class FinalPart
- Returns whether this is final
- InterfacesPart — Class in namespace gossi\codegen\model\parts
- Interfaces part
- ReferenceReturnPart::isReferenceReturned() — Method in class ReferenceReturnPart
- Returns whether a reference is returned
- ValuePart::isExpression() — Method in class ValuePart
- Returns whether an expression is set
- InterfaceParserVisitor — Class in namespace gossi\codegen\parser\visitor
L
- LongDescriptionPart — Class in namespace gossi\codegen\model\parts
- Long description part
M
- ModelGenerator — Class in namespace gossi\codegen\generator
- Model Generator
- MethodBuilder — Class in namespace gossi\codegen\generator\builder
- MethodParserVisitor — Class in namespace gossi\codegen\parser\visitor
- MemberParserPart — Class in namespace gossi\codegen\parser\visitor\parts
N
- NamespaceInterface — Class in namespace gossi\codegen\model
- Represents models that have a namespace
- NamePart — Class in namespace gossi\codegen\model\parts
- Name part
O
- Writer::outdent() — Method in class Writer
P
- ParameterBuilder — Class in namespace gossi\codegen\generator\builder
- PropertyBuilder — Class in namespace gossi\codegen\generator\builder
- PhpClass — Class in namespace gossi\codegen\model
- Represents a PHP class.
- PhpConstant — Class in namespace gossi\codegen\model
- Represents a PHP constant.
- PhpFunction — Class in namespace gossi\codegen\model
- Represents a PHP function.
- PhpInterface — Class in namespace gossi\codegen\model
- Represents a PHP interface.
- PhpMethod — Class in namespace gossi\codegen\model
- Represents a PHP method.
- PhpParameter — Class in namespace gossi\codegen\model
- Represents a PHP parameter.
- PhpProperty — Class in namespace gossi\codegen\model
- Represents a PHP property.
- PhpTrait — Class in namespace gossi\codegen\model
- Represents a PHP trait.
- PropertiesInterface — Class in namespace gossi\codegen\model
- ParametersPart — Class in namespace gossi\codegen\model\parts
- Parameters Part
- PropertiesPart — Class in namespace gossi\codegen\model\parts
- Properties part
- FileParser::parse() — Method in class FileParser
- PrettyPrinter — Class in namespace gossi\codegen\parser
- PrettyPrinter::pExpr_Array() — Method in class PrettyPrinter
- ParserVisitorInterface — Class in namespace gossi\codegen\parser\visitor
- PropertyParserVisitor — Class in namespace gossi\codegen\parser\visitor
Q
- QualifiedNamePart — Class in namespace gossi\codegen\model\parts
- Qualified name part
R
- RoutineBuilderPart — Class in namespace gossi\codegen\generator\builder\parts
- Writer::rtrim() — Method in class Writer
- Writer::reset() — Method in class Writer
- AbstractPhpStruct::removeUseStatement() — Method in class AbstractPhpStruct
- Removes a use statement
- AbstractPhpStruct::removeMethod() — Method in class AbstractPhpStruct
- Removes a method
- ConstantsInterface::removeConstant() — Method in class ConstantsInterface
- Removes a constant
- PropertiesInterface::removeProperty() — Method in class PropertiesInterface
- Removes a property
- RoutineInterface — Class in namespace gossi\codegen\model
- RoutineInterface::replaceParameter() — Method in class RoutineInterface
- Replaces a parameter at a given position
- RoutineInterface::removeParameter() — Method in class RoutineInterface
- Remove a parameter at a given position
- TraitsInterface::removeTrait() — Method in class TraitsInterface
- Removes a trait.
- ConstantsPart::removeConstant() — Method in class ConstantsPart
- Removes a constant
- InterfacesPart::removeUseStatement() — Method in class InterfacesPart
- Removes a use statement
- InterfacesPart::removeInterface() — Method in class InterfacesPart
- Removes an interface.
- ParametersPart::replaceParameter() — Method in class ParametersPart
- Replaces a parameter at a given position
- ParametersPart::removeParameter() — Method in class ParametersPart
- Remove a parameter at a given position
- PropertiesPart::removeProperty() — Method in class PropertiesPart
- Removes a property
- ReferenceReturnPart — Class in namespace gossi\codegen\model\parts
- Reference return part
- TraitsPart::removeUseStatement() — Method in class TraitsPart
- Removes a use statement
- TraitsPart::removeTrait() — Method in class TraitsPart
- Removes a trait.
- FileParser::removeVisitor() — Method in class FileParser
- ReflectionUtils — Class in namespace gossi\codegen\utils
S
- CodeFileGeneratorConfig::setHeaderComment() — Method in class CodeFileGeneratorConfig
- Sets the file header comment
- CodeFileGeneratorConfig::setHeaderDocblock() — Method in class CodeFileGeneratorConfig
- Sets the file header docblock
- CodeFileGeneratorConfig::setBlankLineAtEnd() — Method in class CodeFileGeneratorConfig
- Sets whether a blank line should be generated at the end of the file
- CodeFileGeneratorConfig::setDeclareStrictTypes() — Method in class CodeFileGeneratorConfig
- Sets whether a
declare(strict_types=1);statement should be printed below the header comments (PHP 7) - CodeGeneratorConfig::setGenerateDocblock() — Method in class CodeGeneratorConfig
- Sets whether docblocks should be generated
- CodeGeneratorConfig::setGenerateEmptyDocblock() — Method in class CodeGeneratorConfig
- Sets whether empty docblocks are generated
- CodeGeneratorConfig::setGenerateScalarTypeHints() — Method in class CodeGeneratorConfig
- Sets whether scalar type hints will be generated for method parameters (PHP 7)
- CodeGeneratorConfig::setGenerateReturnTypeHints() — Method in class CodeGeneratorConfig
- Sets whether return type hints will be generated for method parameters (PHP 7)
- CodeGeneratorConfig::setSortingEnabled() — Method in class CodeGeneratorConfig
- Returns whether sorting is enabled
- CodeGeneratorConfig::setUseStatementSorting() — Method in class CodeGeneratorConfig
- Returns the use statement sorting
- CodeGeneratorConfig::setConstantSorting() — Method in class CodeGeneratorConfig
- Returns the constant sorting
- CodeGeneratorConfig::setPropertySorting() — Method in class CodeGeneratorConfig
- Returns the property sorting
- CodeGeneratorConfig::setMethodSorting() — Method in class CodeGeneratorConfig
- Returns the method sorting
- StructBuilderPart — Class in namespace gossi\codegen\generator\builder\parts
- AbstractModel::setDescription() — Method in class AbstractModel
- Sets the description, which will also be used when generating a docblock
- AbstractPhpMember::setVisibility() — Method in class AbstractPhpMember
- Sets the members visibility
- AbstractPhpMember::setStatic() — Method in class AbstractPhpMember
- Sets whether or not this member is static
- AbstractPhpMember::setParent() — Method in class AbstractPhpMember
- Sets the parent structure to which this member belongs
- AbstractPhpStruct::setRequiredFiles() — Method in class AbstractPhpStruct
- Sets requried files
- AbstractPhpStruct::setUseStatements() — Method in class AbstractPhpStruct
- Sets use statements
- AbstractPhpStruct::setMethods() — Method in class AbstractPhpStruct
- Sets a collection of methods
- AbstractPhpStruct::setMethod() — Method in class AbstractPhpStruct
- Adds a method
- ConstantsInterface::setConstants() — Method in class ConstantsInterface
- Sets a collection of constants
- ConstantsInterface::setConstant() — Method in class ConstantsInterface
- Adds a constant
- DocblockInterface::setDocblock() — Method in class DocblockInterface
- Sets a docblock
- NamespaceInterface::setNamespace() — Method in class NamespaceInterface
- Sets the namespace
- PhpClass::setParentClassName() — Method in class PhpClass
- Sets the parent class name
- PhpParameter::setPassedByReference() — Method in class PhpParameter
- Sets whether this parameter is passed by reference
- PhpParameter::setTypeDescription() — Method in class PhpParameter
- Alias for setDescription()
- PropertiesInterface::setProperties() — Method in class PropertiesInterface
- Sets a collection of properties
- PropertiesInterface::setProperty() — Method in class PropertiesInterface
- Adds a property
- RoutineInterface::setParameters() — Method in class RoutineInterface
- Sets a collection of parameters
- RoutineInterface::setReferenceReturned() — Method in class RoutineInterface
- Set true if a reference is returned of false if not
- RoutineInterface::setBody() — Method in class RoutineInterface
- Sets the body for this
- TraitsInterface::setTraits() — Method in class TraitsInterface
- Sets a collection of traits
- ValueInterface::setValue() — Method in class ValueInterface
- Sets the value
- ValueInterface::setExpression() — Method in class ValueInterface
- Sets an expression
- AbstractPart::setAbstract() — Method in class AbstractPart
- Sets this to abstract
- BodyPart::setBody() — Method in class BodyPart
- Sets the body for this
- ConstantsPart::setConstants() — Method in class ConstantsPart
- Sets a collection of constants
- ConstantsPart::setConstant() — Method in class ConstantsPart
- Adds a constant
- DocblockPart::setDocblock() — Method in class DocblockPart
- Sets the docblock
- FinalPart::setFinal() — Method in class FinalPart
- Sets this final
- InterfacesPart::setInterfaces() — Method in class InterfacesPart
- Sets a collection of interfaces
- LongDescriptionPart::setLongDescription() — Method in class LongDescriptionPart
- Sets the long description
- NamePart::setName() — Method in class NamePart
- Sets the name
- ParametersPart::setParameters() — Method in class ParametersPart
- Sets a collection of parameters
- PropertiesPart::setProperties() — Method in class PropertiesPart
- Sets a collection of properties
- PropertiesPart::setProperty() — Method in class PropertiesPart
- Adds a property
- QualifiedNamePart::setNamespace() — Method in class QualifiedNamePart
- Sets the namespace
- QualifiedNamePart::setQualifiedName() — Method in class QualifiedNamePart
- In contrast to setName(), this method accepts the fully qualified name including the namespace.
- ReferenceReturnPart::setReferenceReturned() — Method in class ReferenceReturnPart
- Set true if a reference is returned of false if not
- TraitsPart::setTraits() — Method in class TraitsPart
- Sets a collection of traits
- TypePart::setType() — Method in class TypePart
- Sets the type
- TypePart::setTypeDescription() — Method in class TypePart
- Sets the description for the type
- ValuePart::setDefaultValue() — Method in class ValuePart
- ValuePart::setValue() — Method in class ValuePart
- Sets the value
- ValuePart::setExpression() — Method in class ValuePart
- Sets an expression
- StructParserVisitor — Class in namespace gossi\codegen\parser\visitor
- StructParserPart — Class in namespace gossi\codegen\parser\visitor\parts
T
- TraitBuilder — Class in namespace gossi\codegen\generator\builder
- TypeBuilderPart — Class in namespace gossi\codegen\generator\builder\parts
- TraitsInterface — Class in namespace gossi\codegen\model
- Represents models that can have traits
- TraitsPart — Class in namespace gossi\codegen\model\parts
- Traits part
- TypeDocblockGeneratorPart — Class in namespace gossi\codegen\model\parts
- Type docblock generator part
- TypePart — Class in namespace gossi\codegen\model\parts
- Type part
- TraitParserVisitor — Class in namespace gossi\codegen\parser\visitor
U
- ValueInterface::unsetValue() — Method in class ValueInterface
- Unsets the value
- ValueInterface::unsetExpression() — Method in class ValueInterface
- Unsets the expression
- ValuePart::unsetDefaultValue() — Method in class ValuePart
- ValuePart::unsetValue() — Method in class ValuePart
- Unsets the value
- ValuePart::unsetExpression() — Method in class ValuePart
- Unsets the expression
V
- ValueBuilderPart — Class in namespace gossi\codegen\generator\builder\parts
- ValueInterface — Class in namespace gossi\codegen\model
- ValuePart — Class in namespace gossi\codegen\model\parts
- Value part
- ClassParserVisitor::visitClass() — Method in class ClassParserVisitor
- Visit a class
- ConstantParserVisitor::visitConstants() — Method in class ConstantParserVisitor
- Visit class constants
- ConstantParserVisitor::visitConstant() — Method in class ConstantParserVisitor
- Visit a constant
- InterfaceParserVisitor::visitInterface() — Method in class InterfaceParserVisitor
- Visit an interface
- MethodParserVisitor::visitMethod() — Method in class MethodParserVisitor
- Visit a method
- ParserVisitorInterface::visitStruct() — Method in class ParserVisitorInterface
- Visit a struct
- ParserVisitorInterface::visitClass() — Method in class ParserVisitorInterface
- Visit a class
- ParserVisitorInterface::visitInterface() — Method in class ParserVisitorInterface
- Visit an interface
- ParserVisitorInterface::visitTrait() — Method in class ParserVisitorInterface
- Visit a trait
- ParserVisitorInterface::visitTraitUse() — Method in class ParserVisitorInterface
- Visit a use statement inside a struct
- ParserVisitorInterface::visitConstants() — Method in class ParserVisitorInterface
- Visit class constants
- ParserVisitorInterface::visitConstant() — Method in class ParserVisitorInterface
- Visit a constant
- ParserVisitorInterface::visitProperty() — Method in class ParserVisitorInterface
- Visit a property
- ParserVisitorInterface::visitNamespace() — Method in class ParserVisitorInterface
- Visit a namespace statement
- ParserVisitorInterface::visitUseStatement() — Method in class ParserVisitorInterface
- Visit a use statement
- ParserVisitorInterface::visitMethod() — Method in class ParserVisitorInterface
- Visit a method
- PropertyParserVisitor::visitProperty() — Method in class PropertyParserVisitor
- Visit a property
- StructParserVisitor::visitStruct() — Method in class StructParserVisitor
- Visit a struct
- StructParserVisitor::visitClass() — Method in class StructParserVisitor
- Visit a class
- StructParserVisitor::visitInterface() — Method in class StructParserVisitor
- Visit an interface
- StructParserVisitor::visitTrait() — Method in class StructParserVisitor
- Visit a trait
- StructParserVisitor::visitTraitUse() — Method in class StructParserVisitor
- Visit a use statement inside a struct
- StructParserVisitor::visitConstants() — Method in class StructParserVisitor
- Visit class constants
- StructParserVisitor::visitConstant() — Method in class StructParserVisitor
- Visit a constant
- StructParserVisitor::visitProperty() — Method in class StructParserVisitor
- Visit a property
- StructParserVisitor::visitNamespace() — Method in class StructParserVisitor
- Visit a namespace statement
- StructParserVisitor::visitUseStatement() — Method in class StructParserVisitor
- Visit a use statement
- StructParserVisitor::visitMethod() — Method in class StructParserVisitor
- Visit a method
- StructParserPart::visitStruct() — Method in class StructParserPart
- StructParserPart::visitTraitUse() — Method in class StructParserPart
- StructParserPart::visitNamespace() — Method in class StructParserPart
- StructParserPart::visitUseStatement() — Method in class StructParserPart
- ValueParserPart — Class in namespace gossi\codegen\parser\visitor\parts
W
- Writer — Class in namespace gossi\codegen\generator\utils
- A writer implementation.
- Writer::writeln() — Method in class Writer
- Writer::write() — Method in class Writer
_
- CodeGeneratorConfig::__construct() — Method in class CodeGeneratorConfig
- Creates a new configuration for code generator
- BuilderFactory::__construct() — Method in class BuilderFactory
- CodeFileGenerator::__construct() — Method in class CodeFileGenerator
- Creates a new CodeFileGenerator
- CodeGenerator::__construct() — Method in class CodeGenerator
- ModelGenerator::__construct() — Method in class ModelGenerator
- AbstractBuilder::__construct() — Method in class AbstractBuilder
- DefaultConstantComparator::__construct() — Method in class DefaultConstantComparator
- Writer::__construct() — Method in class Writer
- AbstractPhpMember::__construct() — Method in class AbstractPhpMember
- Creates a new member
- AbstractPhpStruct::__construct() — Method in class AbstractPhpStruct
- Creates a new struct
- PhpClass::__construct() — Method in class PhpClass
- Creates a new PHP class
- PhpConstant::__construct() — Method in class PhpConstant
- Creates a new PHP constant
- PhpFunction::__construct() — Method in class PhpFunction
- Creates a new PHP function
- PhpInterface::__construct() — Method in class PhpInterface
- Create a new PHP interface
- PhpMethod::__construct() — Method in class PhpMethod
- Creates a new member
- PhpParameter::__construct() — Method in class PhpParameter
- Creates a new PHP parameter
- PhpTrait::__construct() — Method in class PhpTrait
- Creates a new PHP trait
- FileParser::__construct() — Method in class FileParser
- StructParserVisitor::__construct() — Method in class StructParserVisitor