コード例 #1
0
 /**
  * @param $value
  *
  * @return mixed
  */
 public function run($value)
 {
     return $this->propertyAccess->getValue($value, $this->accessor);
 }
コード例 #2
0
 /**
  * @param $value
  *
  * @return \ArrayIterator
  */
 protected function _iterator($value)
 {
     $data = $this->propertyAccess->getValue($value, $this->accessor);
     return new \ArrayIterator($data);
 }