PHP Class Nelmio\Alice\Generator\Hydrator\Property\SymfonyPropertyAccessorHydrator

Inheritance: implements Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface, use trait Nelmio\Alice\IsAServiceTrait
Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor )
hydrate ( Nelmio\Alice\ObjectInterface $object, Property $property, GenerationContext $context ) : Nelmio\Alice\ObjectInterface

Method Details

__construct() public method

public __construct ( Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor )
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccessorInterface

hydrate() public method

public hydrate ( Nelmio\Alice\ObjectInterface $object, Property $property, GenerationContext $context ) : Nelmio\Alice\ObjectInterface
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$context Nelmio\Alice\Generator\GenerationContext
return Nelmio\Alice\ObjectInterface