public function searchContentfulEntries(string $searchText, int $offset = 0, int $limit = 25, ?Client $client = null): array
    {
        $client = $client ?? $this->defaultClient;

        $query = new Query();
        $query->setLimit($limit);
        $query->setSkip($offset);
        $query->where('query', $searchText);

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

        $query = new Query();
        $query->setLimit($limit);
        $query->setSkip($offset);
        $query->where('query', $searchText);

        return $this->buildContentfulEntries($client->getEntries($query), $client);
    }
public function searchContentfulEntries ( string $ searchText , int $ offset = 0 , int $ limit = 25 , ? Client $ client = null ) : array { $ client = $ client ?? $ this -> defaultClient ; $ query = new Query ( ) ; $ query -> setLimit ( $ limit ) ; $ query -> setSkip ( $ offset ) ; $ query -> where ( 'query' , $ searchText ) ; return $ this -> buildContentfulEntries ( $ client -> getEntries ( $ query ) , $ client ) ; }
Searches for Contentful entries.
Searches for Contentful entries .