getSearch example

$extensionCriteria->getQueryParameter()['orderSequence']
        );
    }

    public function testToQueryStringSkipsSearchIfNotPresent(): void
    {
        $extensionCriteria = new ExtensionCriteria();
        static::assertArrayNotHasKey('search', $extensionCriteria->getQueryParameter());

        $extensionCriteria->setSearch('my search');
        static::assertEquals('my search', $extensionCriteria->getQueryParameter()['search']);
        static::assertEquals('my search', $extensionCriteria->getSearch());
    }

    public function testItFlattensFilterInQuery(): void
    {
        $extensionCriteria = new ExtensionCriteria();
        $extensionCriteria->addFilter([
            'type' => 'multi',
            'operator' => 'AND',
            'queries' => [
                [
                    'type' => 'equals',
                    
Home | Imprint | This part of the site doesn't use cookies.