public function getUser($item = null)
    {
        if (isset($item)) {
            return gplcart_array_get($this->current_user, $item);
        }

        return $this->current_user;
    }
public function getUser($item = null)
    {
        if (isset($item)) {
            return gplcart_array_get($this->current_user, $item);
        }

        return $this->current_user;
    }
public function getUser ( $ item = null ) { if ( isset ( $ item ) ) { return gplcart_array_get ( $ this -> current_user , $ item ) ; } return $ this -> current_user ; }
Returns a data of the current user
@param mixed $item
@return mixed
Returns a data of the current user