1 | <?php |
||
8 | class Generator |
||
9 | { |
||
10 | /** |
||
11 | * @var Options |
||
12 | */ |
||
13 | protected $options; |
||
14 | |||
15 | /** |
||
16 | * @var MethodInterface |
||
17 | */ |
||
18 | protected $method; |
||
19 | |||
20 | /** |
||
21 | * @param Options $options |
||
22 | * @param MethodInterface $method |
||
23 | */ |
||
24 | 2 | public function __construct ( Options $options, MethodInterface $method = null ) |
|
29 | |||
30 | /** |
||
31 | * @return MethodInterface |
||
32 | */ |
||
33 | 1 | public function getMethod () |
|
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public function generate () |
|
57 | } |
||
58 |