public function setUser(array $user)
    {
        if (in_array('user', $this->persistantMap)) {
            $this->store->set('user', $user);
        }

        $this->user = $user;
        return $this;
    }
public function setUser(array $user)
    {
        if (in_array('user', $this->persistantMap)) {
            $this->store->set('user', $user);
        }

        $this->user = $user;
        return $this;
    }
public function setUser ( array $ user ) { if ( in_array ( 'user' , $ this -> persistantMap ) ) { $ this -> store -> set ( 'user' , $ user ) ; } $ this -> user = $ user ; return $ this ; }
Set the user property to a userinfo array and, if configured, persist

@param array $user - userinfo from Auth0.

@return $this
Set the user property to a userinfo array and if configured persist