public function indexGroups($num = 1000, $page = 1)
    {
        if ($this->cache != false) {
            return $this->cacheGroups($num, $page);
        }

        return $this->client->call(
            'GET',
            'components/groups',
            [
                'query' => [
                    'per_page' => $num,
                    'current_page' => $page,
                ],
            ]
        );
    }
public function indexGroups($num = 1000, $page = 1)
    {
        if ($this->cache != false) {
            return $this->cacheGroups($num, $page);
        }

        return $this->client->call(
            'GET',
            'components/groups',
            [
                'query' => [
                    'per_page' => $num,
                    'current_page' => $page,
                ],
            ]
        );
    }
public function indexGroups ( $ num = 1000 , $ page = 1 ) { if ( $ this -> cache != false ) { return $ this -> cacheGroups ( $ num , $ page ) ; } return $ this -> client -> call ( 'GET' , 'components/groups' , [ 'query' => [ 'per_page' => $ num , 'current_page' => $ page , ] , ] ) ; }
Get a defined number of Groups.

@param int  $num
@param int  $page

@return array|bool
Get a defined number of Groups .