| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 42 | public function set(string $container, $object, ConfigInterface $config = null): ContainersInterface  | 
            ||
| 43 |     { | 
            ||
| 44 |         if (\is_object($object)) { | 
            ||
| 45 | $this->setContainer($container, $object);  | 
            ||
| 46 |         } else { | 
            ||
| 47 | $class = '\\DrMVC\\' . $object;  | 
            ||
| 48 | $this->setContainer($container, new $class($config));  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 51 | return $this;  | 
            ||
| 52 | }  | 
            ||
| 78 |