src/Aacotroneo/Saml2/Saml2User.php
function parseUserAttribute($samlAttribute = null, $propertyName = null) {
        if(empty($samlAttribute)) {
            return null;
        }
        if(empty($propertyName)) {
            return $this->getAttribute($samlAttribute);
        }

        return $this->{$propertyName} = $this->getAttribute($samlAttribute);
    }
function parseUserAttribute($samlAttribute = null, $propertyName = null) {
        if(empty($samlAttribute)) {
            return null;
        }
        if(empty($propertyName)) {
            return $this->getAttribute($samlAttribute);
        }

        return $this->{$propertyName} = $this->getAttribute($samlAttribute);
    }
function parseUserAttribute ( $ samlAttribute = null , $ propertyName = null ) { if ( empty ( $ samlAttribute ) ) { return null ; } if ( empty ( $ propertyName ) ) { return $ this -> getAttribute ( $ samlAttribute ) ; } return $ this -> { $ propertyName } = $ this -> getAttribute ( $ samlAttribute ) ; }
Parses a SAML property and adds this property to this user or returns the value

@param string $samlAttribute
@param string $propertyName
@return array|null
Parses a SAML property and adds this property to this user or returns the value