mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
37 lines
627 B
PHP
37 lines
627 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
|
|
namespace Magento\Backend\Console\Command;
|
|
|
|
/**
|
|
* Command for disabling cache
|
|
*
|
|
* @api
|
|
* @since 100.0.2
|
|
*/
|
|
class CacheDisableCommand extends AbstractCacheSetCommand
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
protected function configure()
|
|
{
|
|
$this->setName('cache:disable');
|
|
$this->setDescription('Disables cache type(s)');
|
|
parent::configure();
|
|
}
|
|
|
|
/**
|
|
* Is Disable cache
|
|
*
|
|
* @return bool
|
|
*/
|
|
protected function isEnable()
|
|
{
|
|
return false;
|
|
}
|
|
}
|