1 | <?php |
||
12 | final class PluginHelper |
||
13 | { |
||
14 | /** |
||
15 | * Plugin FQCN has to match this template. |
||
16 | */ |
||
17 | const PLUGIN_FQCN_TEMPLATE = 'Moka\\Plugin\\%s\\%sPlugin'; |
||
18 | |||
19 | /** |
||
20 | * @param string $pluginName |
||
21 | * @return string |
||
22 | * |
||
23 | * @throws NotImplementedException |
||
24 | */ |
||
25 | 2 | public static function load(string $pluginName): string |
|
43 | |||
44 | /** |
||
45 | * @param string $pluginName |
||
46 | * @return string |
||
47 | */ |
||
48 | 2 | private static function generateFQCN(string $pluginName): string |
|
56 | } |
||
57 |