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