| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CleanDeletedFilesPlugin extends Plugin |
||
| 11 | { |
||
| 12 | public $isAdminPlugin = true; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Class constructor. |
||
| 16 | */ |
||
| 17 | protected function __construct() |
||
| 18 | { |
||
| 19 | $version = '1.0'; |
||
| 20 | $author = 'José Angel Ruiz (NOSOLORED)'; |
||
| 21 | parent::__construct($version, $author, ['enabled' => 'boolean']); |
||
| 22 | $this->isAdminPlugin = true; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return RedirectionPlugin |
||
| 27 | */ |
||
| 28 | public static function create() |
||
| 29 | { |
||
| 30 | static $result = null; |
||
| 31 | |||
| 32 | return $result ? $result : $result = new self(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function get_name() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |