1 | <?php |
||
21 | class Webino |
||
|
|||
22 | { |
||
23 | /** |
||
24 | * Webino™ version |
||
25 | */ |
||
26 | const VERSION = Version::VERSION; |
||
27 | |||
28 | /** |
||
29 | * Create application core config |
||
30 | * |
||
31 | * @param array $config |
||
32 | * @return CoreConfig |
||
33 | */ |
||
34 | public static function config(array $config) |
||
38 | |||
39 | /** |
||
40 | * Create Webino application |
||
41 | * |
||
42 | * @param array|object $config |
||
43 | * @param DebuggerInterface $debugger |
||
44 | * @return \WebinoAppLib\Application\AbstractBaseApplication |
||
45 | */ |
||
46 | public static function application($config = null, DebuggerInterface $debugger = null) |
||
50 | |||
51 | /** |
||
52 | * Create application debugger |
||
53 | * |
||
54 | * @param array|DebuggerOptions $options |
||
55 | * @return Debugger |
||
56 | */ |
||
57 | public static function debugger($options = []) |
||
61 | |||
62 | /** |
||
63 | * Create application debugger options |
||
64 | * |
||
65 | * @return DebuggerOptions |
||
66 | */ |
||
67 | public static function debuggerOptions() |
||
71 | } |
||
72 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.