EntityUpdater
in package
implements
EntityUpdaterInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- updateProperty() : void
Properties
$propertyAccessor
private
PropertyAccessorInterface
$propertyAccessor
$validator
private
ValidatorInterface
$validator
Methods
__construct()
public
__construct(PropertyAccessorInterface $propertyAccessor, ValidatorInterface $validator) : mixed
Parameters
- $propertyAccessor : PropertyAccessorInterface
- $validator : ValidatorInterface
updateProperty()
public
updateProperty(EntityDto $entityDto, string $propertyName, mixed $value) : void
Parameters
- $entityDto : EntityDto
- $propertyName : string
- $value : mixed