PHP Trait Joli\Jane\Generator\Normalizer\DenormalizerGenerator

Datei anzeigen Open project: jolicode/jane

Protected Methods

Method Description
createDenormalizeMethod ( $modelFqdn, Joli\Jane\Generator\Context\Context $context, $properties ) : ClassMethod Create the denormalization method.
createSupportsDenormalizationMethod ( string $modelFqdn ) : ClassMethod Create method to check if denormalization is supported.
getNaming ( ) : Naming The naming service.

Method Details

createDenormalizeMethod() protected method

Create the denormalization method.
protected createDenormalizeMethod ( $modelFqdn, Joli\Jane\Generator\Context\Context $context, $properties ) : ClassMethod
$modelFqdn
$context Joli\Jane\Generator\Context\Context
$properties
return PhpParser\Node\Stmt\ClassMethod

createSupportsDenormalizationMethod() protected method

Create method to check if denormalization is supported.
protected createSupportsDenormalizationMethod ( string $modelFqdn ) : ClassMethod
$modelFqdn string Fully Qualified name of the model class denormalized
return PhpParser\Node\Stmt\ClassMethod

getNaming() abstract protected method

The naming service.
abstract protected getNaming ( ) : Naming
return Joli\Jane\Generator\Naming