public function getContentfulEntries(int $offset = 0, ?int $limit = null, ?Client $client = null, ?Query $query = null): array
    {
        $client = $client ?? $this->defaultClient;
        $query = $query ?? new Query();

        $query->setSkip($offset);
        if ($limit !== null) {
            $query->setLimit($limit);
        }

        return $this->buildContentfulEntries($client->getEntries($query), $client);
    }
public function getContentfulEntries(int $offset = 0, ?int $limit = null, ?Client $client = null, ?Query $query = null): array
    {
        $client = $client ?? $this->defaultClient;
        $query = $query ?? new Query();

        $query->setSkip($offset);
        if ($limit !== null) {
            $query->setLimit($limit);
        }

        return $this->buildContentfulEntries($client->getEntries($query), $client);
    }
public function getContentfulEntries ( int $ offset = 0 , ? int $ limit = null , ? Client $ client = null , ? Query $ query = null ) : array { $ client = $ client ?? $ this -> defaultClient ; $ query = $ query ?? new Query ( ) ; $ query -> setSkip ( $ offset ) ; if ( $ limit !== null ) { $ query -> setLimit ( $ limit ) ; } return $ this -> buildContentfulEntries ( $ client -> getEntries ( $ query ) , $ client ) ; }
Returns the list of Contentful entries.
Returns the list of Contentful entries .