PHPDaemon\Config\Object::offsetGet PHP Method

offsetGet() public method

Get property by name
public offsetGet ( $prop ) : mixed
return mixed
    public function offsetGet($prop)
    {
        $prop = $this->getRealPropertyName($prop);
        return isset($this->{$prop}) ? $this->{$prop}->value : null;
    }