PHPCfg\Op::getAttribute PHP Method

getAttribute() public method

public getAttribute ( $key, $default = null )
    public function &getAttribute($key, $default = null)
    {
        if (!$this->hasAttribute($key)) {
            return $default;
        }
        return $this->attributes[$key];
    }