PHP Class Goetas\Xsd\XsdToPhp\Php\ClassGenerator

Afficher le fichier Open project: goetas/xsd2php Class Usage Examples

Méthodes publiques

Méthode Description
generate ( ClassGenerator $class, PHPClass $type )

Private Methods

Méthode Description
getPhpType ( PHPClass $class )
handleAdder ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleBody ( ClassGenerator $class, PHPClass $type )
handleGetter ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleMethod ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleProperty ( ClassGenerator $class, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop )
handleSetter ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleValueMethod ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class, $all = true )
isNativeType ( PHPClass $class )
isOneType ( PHPClass $type, $onlyParent = false )

Method Details

generate() public méthode

public generate ( ClassGenerator $class, PHPClass $type )
$class Zend\Code\Generator\ClassGenerator
$type Goetas\Xsd\XsdToPhp\Php\Structure\PHPClass