| Total Complexity | 3 | 
| Total Lines | 16 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 7 | trait MethodCreator  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * Resolves dependency from a factory method.  | 
            ||
| 11 | * Method parameters will be autowired.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @param string $name Name of the factory method  | 
            ||
| 14 | * @return Bean|null Wrapped factory method result or null if no such factory  | 
            ||
| 15 | */  | 
            ||
| 16 |     protected function fromMethod(string $name) { | 
            ||
| 23 | }  | 
            ||
| 24 | }  |