mpyw\Co\Internal\CoOption::offsetGet PHP Method

offsetGet() public method

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