src/Users.php
public function logout()
	{
		// Build the request path.
		$path = '?action=login';

		// @todo clear internal data as well

		// Send the request.
		$response = $this->client->get($this->fetchUrl($path));

		return $this->validateResponse($response);
	}
public function logout()
	{
		// Build the request path.
		$path = '?action=login';

		// @todo clear internal data as well

		// Send the request.
		$response = $this->client->get($this->fetchUrl($path));

		return $this->validateResponse($response);
	}
public function logout ( ) { // Build the request path. $ path = '?action=login' ; // @todo clear internal data as well // Send the request. $ response = $ this -> client -> get ( $ this -> fetchUrl ( $ path ) ) ; return $ this -> validateResponse ( $ response ) ; }
Method to logout and clear session data.

@return  object

@since   1.0
Method to logout and clear session data .