* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Configuration\Command; /** * Switches debug mode on/off */ class SwitchDebugModeCommand { /** * @var bool */ private $enableDebugMode; /** * @param bool $enableDebugMode */ public function __construct($enableDebugMode) { $this->enableDebugMode = $enableDebugMode; } /** * @return bool */ public function enableDebugMode() { return true === $this->enableDebugMode; } }