Example #1
0
 /**
  * Get projects.
  *
  * @param array $where criteria to filter projects.
  * @param array $order criteria to order projects.
  *
  * @return Pagerfanta
  */
 public function getProjects(array $where = [], array $order = [])
 {
     /** @var FilterableApiInterface $api */
     $api = $this->client->api('projects');
     return new Pagerfanta(new PagerfantaAdapter($api, $where, $order, true, $this->classes));
 }