getProperty() 공개 메소드

A simple wrapper around symfony/property-access with Nette Database dot notation support.
public getProperty ( array | object $object, string $name ) : mixed
$object array | object
$name string
리턴 mixed
 /**
  * @inheritdoc
  */
 public function getProperty($object, $name)
 {
     $propertyAccessor = $this->getPropertyAccessor();
     if ($propertyAccessor instanceof EntityArrayAccessor) {
         return $propertyAccessor->getValue($object, $name);
     }
     return parent::getProperty($object, $name);
 }