1 | <?php |
||
13 | class GeneratorBench |
||
|
|||
14 | { |
||
15 | /** |
||
16 | * @var CombGenerator |
||
17 | */ |
||
18 | private $comb; |
||
19 | |||
20 | /** |
||
21 | * @var Version1Generator |
||
22 | */ |
||
23 | private $v1; |
||
24 | |||
25 | /** |
||
26 | * @var Version4Generator |
||
27 | */ |
||
28 | private $v4; |
||
29 | |||
30 | /** |
||
31 | * @var Version5Generator |
||
32 | */ |
||
33 | private $v5; |
||
34 | |||
35 | public function __construct() |
||
42 | |||
43 | public function benchCombGenerator() |
||
47 | |||
48 | public function benchVersion1Generator() |
||
52 | |||
53 | public function benchVersion4Generator() |
||
57 | |||
58 | public function benchVersion5Generator() |
||
62 | } |
||
63 |
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.