/** * @inheritdoc */ public function getProperty($object, $name) { $propertyAccessor = $this->getPropertyAccessor(); if ($propertyAccessor instanceof EntityArrayAccessor) { return $propertyAccessor->getValue($object, $name); } return parent::getProperty($object, $name); }