PHP Class Nelmio\Alice\PropertyAccess\StdPropertyAccessor

Inheritance: implements Symfony\Component\PropertyAccess\PropertyAccessorInterface, use trait Nelmio\Alice\IsAServiceTrait
Mostra file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\PropertyAccess\PropertyAccessorInterface $decoratedPropertyAccessor )
getValue ( $objectOrArray, $propertyPath )
isReadable ( $objectOrArray, $propertyPath )
isWritable ( $objectOrArray, $propertyPath )
setValue ( &$objectOrArray, $propertyPath, $value )

Method Details

__construct() public method

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

getValue() public method

public getValue ( $objectOrArray, $propertyPath )

isReadable() public method

public isReadable ( $objectOrArray, $propertyPath )

isWritable() public method

public isWritable ( $objectOrArray, $propertyPath )

setValue() public method

public setValue ( &$objectOrArray, $propertyPath, $value )