src/mako/utility/Collection.php
public function offsetGet($offset)
	{
		if(array_key_exists($offset, $this->items))
		{
			return $this->items[$offset];
		}

		throw new OutOfBoundsException(vsprintf('Undefined offset [ %s ].', [$offset]));
	}
public function offsetGet($offset)
	{
		if(array_key_exists($offset, $this->items))
		{
			return $this->items[$offset];
		}

		throw new OutOfBoundsException(vsprintf('Undefined offset [ %s ].', [$offset]));
	}
public function offsetGet ( $ offset ) { if ( array_key_exists ( $ offset , $ this -> items ) ) { return $ this -> items [ $ offset ] ; } throw new OutOfBoundsException ( vsprintf ( 'Undefined offset [ %s ].' , [ $ offset ] ) ) ; }
Returns the value at the specified offset.

@param  mixed                 $offset The offset to retrieve
@throws \OutOfBoundsException
@return mixed
Returns the value at the specified offset .