You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
577 B
32 lines
577 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Class MaintenanceModePlugin.
|
|
*/
|
|
class MaintenanceModePlugin extends Plugin
|
|
{
|
|
/**
|
|
* MaintenanceModePlugin constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
'0.1',
|
|
'Julio Montoya',
|
|
[
|
|
'tool_enable' => 'boolean',
|
|
]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public static function create()
|
|
{
|
|
static $result = null;
|
|
|
|
return $result ? $result : $result = new self();
|
|
}
|
|
}
|
|
|