public function findLeads(array $queryParams): array
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use list() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->list(0, self::MAX_ITEMS_PER_REQUEST, $queryParams);
    }
public function findLeads(array $queryParams): array
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use list() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->list(0, self::MAX_ITEMS_PER_REQUEST, $queryParams);
    }
public function findLeads ( array $ queryParams ) : array { @ trigger_error ( sprintf ( 'The %s() method is deprecated since version 0.8. Use list() instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; return $ this -> list ( 0 , self :: MAX_ITEMS_PER_REQUEST , $ queryParams ) ; }
Get all the leads that match the given criteria.

@param array $queryParams The search criteria

@return Lead[]

@deprecated since version 0.8, to be removed in 0.9. Use list() instead.
Get all the leads that match the given criteria .