| Total Complexity | 5 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ServiceDefinition implements ServiceDefinitionInterface |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | private $serviceName; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | private $class; |
||
| 17 | |||
| 18 | /** @var array */ |
||
| 19 | private $constructArgs; |
||
| 20 | |||
| 21 | /** @var array */ |
||
| 22 | private $calls; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * RepositoryFactory constructor. |
||
| 26 | * |
||
| 27 | * @param string $serviceName |
||
| 28 | * @param string $class |
||
| 29 | * @param array $args |
||
| 30 | * @param array $calls |
||
| 31 | */ |
||
| 32 | public function __construct(string $serviceName, string $class, array $args = [], array $calls = []) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getClass() |
||
| 44 | { |
||
| 45 | return $this->class; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** @return string */ |
||
| 49 | public function getServiceName() |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return array |
||
| 56 | */ |
||
| 57 | public function getConstructArgs() |
||
| 58 | { |
||
| 59 | return $this->constructArgs; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return array |
||
| 64 | */ |
||
| 65 | public function getCalls() |
||
| 68 | } |
||
| 69 | |||
| 71 |