Skip to content

Commit ff8f739

Browse files
ADmadstickler-ci
authored andcommitted
Avoid unnecessary file operations. (#342)
* Avoid unnecessary file operations. This plugin doesn't have bootstrap file or routes file or console commands. * Fixing style errors. Co-authored-by: Stickler Bot <[email protected]>
1 parent d9442bc commit ff8f739

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/Plugin.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,28 @@
1818
use Cake\Core\BasePlugin;
1919

2020
/**
21-
* Plugin class for CakePHP 3.6.0 plugin collection.
21+
* Plugin class for CakePHP.
2222
*/
2323
class Plugin extends BasePlugin
2424
{
25+
/**
26+
* Do bootstrapping or not
27+
*
28+
* @var bool
29+
*/
30+
protected $bootstrapEnabled = false;
31+
32+
/**
33+
* Load routes or not
34+
*
35+
* @var bool
36+
*/
37+
protected $routesEnabled = false;
38+
39+
/**
40+
* Console middleware
41+
*
42+
* @var bool
43+
*/
44+
protected $consoleEnabled = false;
2545
}

0 commit comments

Comments
 (0)