public function offsetGet($key)
    {
        $this->executeBeforeCallback();

        if (isset($this->items[$key])) {
            return $this->items[$key];
        }
    }
public function offsetGet($key)
    {
        $this->executeBeforeCallback();

        if (isset($this->items[$key])) {
            return $this->items[$key];
        }
    }
public function offsetGet ( $ key ) { $ this -> executeBeforeCallback ( ) ; if ( isset ( $ this -> items [ $ key ] ) ) { return $ this -> items [ $ key ] ; } }
Get the value for a given offset.

@param  string  $key
@return mixed
Get the value for a given offset .