testAnalyze example


    public function testAnalyzeWithIgnoredErrorNoticeReporting(array $productData, array $configFields, array $expected): void
    {
        $oldLevel = error_reporting(\E_ERROR);

        $this->testAnalyze($productData$configFields$expected);

        error_reporting($oldLevel);
    }

    /** * @return iterable<string, array{0:array<string, array<string, string|array<int|string, string|array<int|string>>>|int|string|TagCollection>, 1:array<int, array{field: string, tokenize: bool, ranking: int}>, 2:array<int, int|string>}> */
    public static function analyzeCases(): iterable
    {
        $tag1 = new TagEntity();
        $tag1->setId('tag-1');
        
Home | Imprint | This part of the site doesn't use cookies.