Zendesk\API\Traits\Resource\FindAll::findAll PHP Method

findAll() public method

List all of this resource
public findAll ( array $params = [], string $routeKey = __FUNCTION__ ) : stdClass
$params array
$routeKey string
return stdClass | null
    public function findAll(array $params = [], $routeKey = __FUNCTION__)
    {
        try {
            $route = $this->getRoute($routeKey, $params);
        } catch (RouteException $e) {
            if (!isset($this->resourceName)) {
                $this->resourceName = $this->getResourceNameFromClass();
            }
            $route = $this->resourceName . '.json';
            $this->setRoute(__FUNCTION__, $route);
        }
        return $this->client->get($route, $params);
    }
FindAll