/** * @param $value * * @return mixed */ public function run($value) { return $this->propertyAccess->getValue($value, $this->accessor); }
/** * @param $value * * @return \ArrayIterator */ protected function _iterator($value) { $data = $this->propertyAccess->getValue($value, $this->accessor); return new \ArrayIterator($data); }