| 1 | <?php |
||
| 19 | trait HandlerTrait |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Configuration |
||
| 23 | */ |
||
| 24 | protected $configuration; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Set configuration. |
||
| 28 | * |
||
| 29 | * @param Configuration $configuration |
||
| 30 | * |
||
| 31 | * @return static |
||
| 32 | */ |
||
| 33 | public function setConfiguration(Configuration $configuration) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Checks if configuration is set. |
||
| 42 | * |
||
| 43 | * @throws \RuntimeException |
||
| 44 | */ |
||
| 45 | protected function testConfiguration() |
||
| 51 | } |
||
| 52 |