protected createNormalizationValueStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input ) | ||
$context | Joli\Jane\Generator\Context\Context | |
$input | PhpParser\Node\Expr |
protected function createNormalizationValueStatement(Context $context, Expr $input)
{
// $object->format($format);
return new Expr\MethodCall($input, 'format', [new Arg(new Expr\ConstFetch(new Name('"' . $this->format . '"')))]);
}