Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function setupHandlers() |
||
26 | { |
||
27 | assert(!empty($this->parentClass)); |
||
28 | assert(!empty($this->childClass)); |
||
29 | assert(ClassChecker::exists($this->parentClass)); |
||
30 | assert(ClassChecker::exists($this->childClass)); |
||
31 | $handler = new ParentChildTrashHandlers; |
||
32 | $handler->registerParent($this->parentClass, $this->childClass); |
||
33 | $handler->registerChild($this->childClass, $this->parentClass); |
||
34 | } |
||
35 | } |