Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Backend\Test\Unit\Console\Command;
use Magento\Backend\Console\Command\AbstractCacheManageCommand;
use Magento\Framework\App\Cache\Manager;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
abstract class AbstractCacheCommandTestCase extends TestCase
{
/**
* @var Manager|MockObject
*/
protected $cacheManagerMock;
/**
* @var AbstractCacheManageCommand
*/
protected $command;
protected function setUp(): void
{
$this->cacheManagerMock = $this->createMock(Manager::class);
}
/**
* Formats expected output for testExecute data providers
*
* @param array $types
* @return string
*/
abstract public function getExpectedExecutionOutput(array $types);
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Backend\Test\Unit\Console\Command;
use Magento\Backend\Console\Command\AbstractCacheManageCommand;
use Magento\Framework\App\Cache\Manager;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
abstract class AbstractCacheCommandTestCase extends TestCase
{
/**
* @var Manager|MockObject
*/
protected $cacheManagerMock;
/**
* @var AbstractCacheManageCommand
*/
protected $command;
protected function setUp(): void
{
$this->cacheManagerMock = $this->createMock(Manager::class);
}
/**
* Formats expected output for testExecute data providers
*
* @param array $types
* @return string
*/
abstract public function getExpectedExecutionOutput(array $types);
}
Function Calls
None |
Stats
MD5 | 43f7a2bbaea39eb829c1ef47fbfd27e5 |
Eval Count | 0 |
Decode Time | 105 ms |