| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function bootstrap($object) |
||
| 32 | { |
||
| 33 | if ($object instanceof ComplexityComputerAwareInterface) { |
||
| 34 | $object->setComplexityComputer($this->container['complexity-computer']); |
||
| 35 | } |
||
| 36 | if ($object instanceof MessageProviderAwareInterface) { |
||
| 37 | $object->setMessageProvider($this->container['message-provider']); |
||
| 38 | } |
||
| 39 | |||
| 40 | return $object; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |