src/Identity.php
protected function get($field)
    {
        $map = $this->_config['fieldMap'];
        if (isset($map[$field])) {
            $field = $map[$field];
        }

        if (isset($this->data[$field])) {
            return $this->data[$field];
        }

        return null;
    }
protected function get($field)
    {
        $map = $this->_config['fieldMap'];
        if (isset($map[$field])) {
            $field = $map[$field];
        }

        if (isset($this->data[$field])) {
            return $this->data[$field];
        }

        return null;
    }
protected function get ( $ field ) { $ map = $ this -> _config [ 'fieldMap' ] ; if ( isset ( $ map [ $ field ] ) ) { $ field = $ map [ $ field ] ; } if ( isset ( $ this -> data [ $ field ] ) ) { return $ this -> data [ $ field ] ; } return null ; }
Get data from the identity

@param string $field Field in the user data.
@return mixed
Get data from the identity