getStoreRequestHandler example

/** * @internal */
#[Package('merchant-services')] trait StoreClientBehaviour
{
    /** * @deprecated tag:v6.6.0 - Will be removed, use ::getStoreRequestHandler() instead */
    public function getRequestHandler(): MockHandler
    {
        return $this->getStoreRequestHandler();
    }

    public function getStoreRequestHandler(): MockHandler
    {
        /** @var MockHandler $handler */
        $handler = $this->getContainer()->get('shopware.store.mock_handler');

        return $handler;
    }

    public function getFrwRequestHandler(): MockHandler
    {
Home | Imprint | This part of the site doesn't use cookies.