1 | <?php |
||
10 | abstract class PluginAbstract |
||
11 | { |
||
12 | /** |
||
13 | * @var ProfilerInterface |
||
14 | */ |
||
15 | protected $profiler; |
||
16 | |||
17 | /** |
||
18 | * @param ProfilerInterface $profiler |
||
19 | * @return static |
||
20 | */ |
||
21 | 11 | public static function getInstance(ProfilerInterface $profiler) |
|
27 | |||
28 | /** |
||
29 | * @return ProfilerInterface |
||
30 | */ |
||
31 | 1 | public function getProfiler() |
|
35 | |||
36 | /** |
||
37 | * @param ProfilerInterface $profiler |
||
38 | */ |
||
39 | 11 | public function setProfiler(ProfilerInterface $profiler) |
|
43 | } |
||
44 |