/** * * @return boolean unless the force option is set to true, the maintenance-mode status is returned */ protected function isRedirectionEnabled() { return !$this->force ? Maintenance::isEnabled() : true; }
private function _status($alt = false) { $this->stdout('Maintenance Mode ' . ($alt ? 'Already ' : '') . (Maintenance::isEnabled() ? 'Enabled' : 'Disabled')); }