Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/App/Test/Unit/Action/
Upload File :
Current File : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/App/Test/Unit/Action/ActionFake.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Framework\App\Test\Unit\Action;

use Magento\Framework\App\Action\Action;

/**
 * @SuppressWarnings(PHPMD.AllPurposeAction)
 */
class ActionFake extends Action
{
    /**
     * Fake action to check a method call from a parent
     */
    public function execute()
    {
        $this->_forward(
            ActionTest::ACTION_NAME,
            ActionTest::CONTROLLER_NAME,
            ActionTest::MODULE_NAME,
            ActionTest::$actionParams
        );
        $this->_redirect(ActionTest::FULL_ACTION_NAME, ActionTest::$actionParams);
    }
}