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