src/Internal/CoOption.php
public function offsetGet($offset)
    {
        if (!isset($this->options[$offset])) {
            throw new \DomainException('Undefined field: ' + $offset);
        }
        return $this->options[$offset];
    }
public function offsetGet($offset)
    {
        if (!isset($this->options[$offset])) {
            throw new \DomainException('Undefined field: ' + $offset);
        }
        return $this->options[$offset];
    }
public function offsetGet ( $ offset ) { if ( ! isset ( $ this -> options [ $ offset ] ) ) { throw new \ DomainException ( 'Undefined field: ' + $ offset ) ; } return $ this -> options [ $ offset ] ; }
Implemention of ArrayAccess.
@param  mixed $offset
@return mixed
Implemention of ArrayAccess .