123456789101112131415161718192021222324252627282930313233343536 |
- <?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;
- }
- }
|