src/Bridge.php
public function setToken($username = null)
    {
        // Only set Token if Username is supplied.
        if (! is_null($username)) {
            $this->token = new Token($username);
        }

        return $this;
    }
public function setToken($username = null)
    {
        // Only set Token if Username is supplied.
        if (! is_null($username)) {
            $this->token = new Token($username);
        }

        return $this;
    }
public function setToken ( $ username = null ) { // Only set Token if Username is supplied. if ( ! is_null ( $ username ) ) { $ this -> token = new Token ( $ username ) ; } return $ this ; }
Sets the Token.

@param string $username

@return $this
Sets the Token .