CachePoolInvalidateTagsCommand example

'foo' => $foo,
            'bar' => $bar,
        ]));

        $ret = $tester->execute(['tags' => $tagsToInvalidate]);

        $this->assertSame(Command::FAILURE, $ret);
    }

    private function createCommand(array $services): CachePoolInvalidateTagsCommand
    {
        return new CachePoolInvalidateTagsCommand(
            new ServiceLocator(array_map(fn ($service) => fn () => $service$services))
        );
    }
}
Home | Imprint | This part of the site doesn't use cookies.