PHP Class Goetas\Xsd\XsdToPhp\Php\PhpConverter

Inheritance: extends Goetas\Xsd\XsdToPhp\AbstractConverter
Show file Open project: goetas/xsd2php Class Usage Examples

Public Methods

Method Description
__construct ( Goetas\Xsd\XsdToPhp\Naming\NamingStrategy $namingStrategy )
convert ( array $schemas )

Private Methods

Method Description
findPHPClass ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Item $node, $force = false )
findPHPName ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type )
getTypes ( ) : PHPClass[]
handleClassExtension ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Type\Type $type )
navigate ( GoetasWebservices\XML\XSDReader\Schema\Schema $schema, array &$visited )
visitAttribute ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Schema $schema, GoetasWebservices\XML\XSDReader\Schema\Attribute\AttributeItem $attribute, $arrayize = true )
visitAttributeGroup ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Schema $schema, GoetasWebservices\XML\XSDReader\Schema\Attribute\Group $att )
visitBaseComplexType ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Type\BaseComplexType $type )
visitComplexType ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Type\ComplexType $type )
visitElement ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Schema $schema, GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle $element, boolean $arrayize = true ) : Goetas\Xsd\XsdToPhp\Structure\PHPProperty
visitElementDef ( GoetasWebservices\XML\XSDReader\Schema\Element\ElementDef $element )
visitGroup ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Schema $schema, GoetasWebservices\XML\XSDReader\Schema\Element\Group $group )
visitSimpleType ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Type\SimpleType $type )
visitType ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type, boolean $force = false ) : PHPClass
visitTypeAnonymous ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type, string $name, PHPClass $parentClass ) : PHPClass
visitTypeBase ( PHPClass $class, GoetasWebservices\XML\XSDReader\Schema\Type\Type $type )

Method Details

__construct() public method

public __construct ( Goetas\Xsd\XsdToPhp\Naming\NamingStrategy $namingStrategy )
$namingStrategy Goetas\Xsd\XsdToPhp\Naming\NamingStrategy

convert() public method

public convert ( array $schemas )
$schemas array