| Total Complexity | 7 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class AbstractDefinition |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ReflectionMethod |
||
| 18 | */ |
||
| 19 | protected $reflectionMethod; |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $name; |
||
| 24 | |||
| 25 | public function __construct(ReflectionMethod $reflectionMethod) |
||
| 26 | { |
||
| 27 | $this->reflectionMethod = $reflectionMethod; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns a list of services to be injected. |
||
| 32 | * |
||
| 33 | * @return Injection |
||
| 34 | */ |
||
| 35 | protected function mapParameterToInjection(ReflectionParameter $reflectionParameter): Injection |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return ReflectionMethod |
||
| 50 | */ |
||
| 51 | public function getReflectionMethod(): ReflectionMethod |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getName(): string |
||
| 64 |