public function getList($filter = null, $state = null, $labels = null, $sort = null,
		$direction = null, Date $since = null, $page = 0, $limit = 0)
	{
		// Build the request path.
		$path = '/issues';

		// TODO Implement the filtering options.

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

		// Validate the response code.
		if ($response->code != 200)
		{
			// Decode the error response and throw an exception.
			$error = json_decode($response->body);
			throw new \DomainException($error->message, $response->code);
		}

		return json_decode($response->body);
	}
public function getList($filter = null, $state = null, $labels = null, $sort = null,
		$direction = null, Date $since = null, $page = 0, $limit = 0)
	{
		// Build the request path.
		$path = '/issues';

		// TODO Implement the filtering options.

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

		// Validate the response code.
		if ($response->code != 200)
		{
			// Decode the error response and throw an exception.
			$error = json_decode($response->body);
			throw new \DomainException($error->message, $response->code);
		}

		return json_decode($response->body);
	}
public function getList ( $ filter = null , $ state = null , $ labels = null , $ sort = null , $ direction = null , Date $ since = null , $ page = 0 , $ limit = 0 ) { // Build the request path. $ path = '/issues' ; // TODO Implement the filtering options. // Send the request. $ response = $ this -> client -> get ( $ this -> fetchUrl ( $ path , $ page , $ limit ) ) ; // Validate the response code. if ( $ response -> code != 200 ) { // Decode the error response and throw an exception. $ error = json_decode ( $ response -> body ) ; throw new \ DomainException ( $ error -> message , $ response -> code ) ; } return json_decode ( $ response -> body ) ; }
Method to list an authenticated user's issues.

@param   string   $filter     The filter type: assigned, created, mentioned, subscribed.
@param   string   $state      The optional state to filter requests by. [open, closed]
@param   string   $labels     The list of comma separated Label names. Example: bug,ui,@high.
@param   string   $sort       The sort order: created, updated, comments, default: created.
@param   string   $direction  The list direction: asc or desc, default: desc.
@param   Date     $since      The date/time since when issues should be returned.
@param   integer  $page       The page number from which to get items.
@param   integer  $limit      The number of items on a page.

@return  object

@since   1.0
@throws  \DomainException
Method to list an authenticated user s issues .