public function listUserRepositories($user, $type = null, $sort = null, $direction = null)
	{
		$data = array();
		if(!is_null($type))
			$data['type'] = $type;
		if(!is_null($sort))
			$data['sort'] = $sort;
		if(!is_null($direction))
			$data['direction'] = $direction;
		
		return $this->client->request("/users/$user/repos", 'GET', $data, 200, 'GitHubSimpleRepo', true);
	}
public function listUserRepositories($user, $type = null, $sort = null, $direction = null)
	{
		$data = array();
		if(!is_null($type))
			$data['type'] = $type;
		if(!is_null($sort))
			$data['sort'] = $sort;
		if(!is_null($direction))
			$data['direction'] = $direction;
		
		return $this->client->request("/users/$user/repos", 'GET', $data, 200, 'GitHubSimpleRepo', true);
	}
public function listUserRepositories ( $ user , $ type = null , $ sort = null , $ direction = null ) { $ data = array ( ) ; if ( ! is_null ( $ type ) ) $ data [ 'type' ] = $ type ; if ( ! is_null ( $ sort ) ) $ data [ 'sort' ] = $ sort ; if ( ! is_null ( $ direction ) ) $ data [ 'direction' ] = $ direction ; return $ this -> client -> request ( "/users/$user/repos" , 'GET' , $ data , 200 , 'GitHubSimpleRepo' , true ) ; }
List user repositories

@param $user string - User login name
@param $type string (Optional) - Can be one of all, owner, public, private, member. Default: all
@param $sort string (Optional) - Can be one of created, updated, pushed, full_name. Default: full_name
@param $direction string (Optional) - Can be one of asc or desc. Default: when using full_name: asc; otherwise desc

@return array<GitHubSimpleRepo>
List user repositories