public function getAttribute($name)
    {
        assert('is_string($name)');

        $value = null;
        if (isset($this->_attributes[$name])) {
            return $this->_attributes[$name];
        }
        return $value;
    }
public function getAttribute($name)
    {
        assert('is_string($name)');

        $value = null;
        if (isset($this->_attributes[$name])) {
            return $this->_attributes[$name];
        }
        return $value;
    }
public function getAttribute ( $ name ) { assert ( 'is_string($name)' ) ; $ value = null ; if ( isset ( $ this -> _attributes [ $ name ] ) ) { return $ this -> _attributes [ $ name ] ; } return $ value ; }
Returns the requested SAML attribute

@param string $name The requested attribute of the user.

@return array|null Requested SAML attribute ($name).
Returns the requested SAML attribute