src/ArrayProperty.php
public function offsetGet($offset) {
    if($this->get !== null) {
      return $this->get->invoke($this->obj, $offset);
    }

    throw new NoSuchPropertyException($this->name);
  }
public function offsetGet($offset) {
    if($this->get !== null) {
      return $this->get->invoke($this->obj, $offset);
    }

    throw new NoSuchPropertyException($this->name);
  }
public function offsetGet ( $ offset ) { if ( $ this -> get !== null ) { return $ this -> get -> invoke ( $ this -> obj , $ offset ) ; } throw new NoSuchPropertyException ( $ this -> name ) ; }
Executes the accessor for a given array property

@throws  NoSuchPropertyException  If there is no accessor for this array property

@param  mixed  $offset  The index into the array to access

@return  mixed  The return value of the accessor
Executes the accessor for a given array property