1 | <?php |
||
29 | abstract class ExtensionAbstract extends ObjectAbstract implements ExtensionInterface |
||
30 | { |
||
31 | /** |
||
32 | * The server object |
||
33 | * |
||
34 | * @var ExtensionAwareInterface |
||
35 | * @access protected |
||
36 | */ |
||
37 | protected $server; |
||
38 | |||
39 | /** |
||
40 | * The lazy boot flag |
||
41 | * |
||
42 | * @var bool |
||
43 | * @access protected |
||
44 | */ |
||
45 | protected $booted = false; |
||
46 | |||
47 | /** |
||
48 | * {@inheritDoc} |
||
49 | */ |
||
50 | public function methodsAvailable()/*# : array */ |
||
54 | |||
55 | /** |
||
56 | * {@inheritDoc} |
||
57 | */ |
||
58 | public function boot(ExtensionAwareInterface $server) |
||
71 | |||
72 | /** |
||
73 | * The real boot method |
||
74 | * |
||
75 | * @access protected |
||
76 | */ |
||
77 | abstract protected function bootExtension(); |
||
78 | } |
||
79 |