all() public method

public all ( integer $page = 1, integer $per_page = self::PER_PAGE ) : mixed
$page integer
$per_page integer
return mixed
 /**
  * Check if group exist
  */
 public function checkGroupName()
 {
     $groups = new Groups($this->client);
     return $this->arraySearchValues($this->config['gitlab']['group-name'], $groups->all(), 'path', 'id', $this->idgroup);
 }