These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | namespace Redaxscript\Bootstrap; |
||
3 | |||
4 | use Redaxscript\Registry; |
||
5 | use Redaxscript\Request; |
||
6 | |||
7 | /** |
||
8 | * abstract class to create a bootstrap class |
||
9 | * |
||
10 | * @since 3.1.0 |
||
11 | * |
||
12 | * @package Redaxscript |
||
13 | * @category Bootstrap |
||
14 | * @author Henry Ruhs |
||
15 | * |
||
16 | * @method protected autorun() |
||
17 | */ |
||
18 | |||
19 | abstract class BootstrapAbstract implements BootstrapInterface |
||
20 | { |
||
21 | /** |
||
22 | * constructor of the class |
||
23 | * |
||
24 | * @since 3.1.0 |
||
25 | * |
||
26 | * @param Registry $_registry instance of the registry class |
||
27 | * @param Request $_request instance of the request class |
||
28 | */ |
||
29 | |||
30 | public function __construct(protected Registry $_registry, protected Request $_request) |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
31 | { |
||
32 | $this->autorun(); |
||
33 | } |
||
34 | } |
||
35 |