src/Config.php
public function setUser(array $user)
    {
        $this->user = array_intersect_key(
            $user,
            array_flip($this->getUserAttributes())
        );

        return $this;
    }
public function setUser(array $user)
    {
        $this->user = array_intersect_key(
            $user,
            array_flip($this->getUserAttributes())
        );

        return $this;
    }
public function setUser ( array $ user ) { $ this -> user = array_intersect_key ( $ user , array_flip ( $ this -> getUserAttributes ( ) ) ) ; return $ this ; }
Set user data.

@param  array $user
@return $this
Set user data .