| 1 | <?php |
||
| 16 | class LocalClient implements ClientInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Generator instance. |
||
| 20 | * |
||
| 21 | * @var Generator |
||
| 22 | */ |
||
| 23 | private $generator; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Construct local client class injected with generator instance. |
||
| 27 | * |
||
| 28 | * @param Generator $generator |
||
| 29 | */ |
||
| 30 | 2 | public function __construct(Generator $generator) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 2 | public function generateId() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 1 | public function status() |
|
| 50 | } |
||
| 51 |