| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class AliasFactory |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $alias; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * AliasFactory constructor. |
||
| 32 | * |
||
| 33 | * @param string $alias |
||
| 34 | */ |
||
| 35 | 28 | public function __construct(string $alias) |
|
| 36 | { |
||
| 37 | 28 | $this->alias = $alias; |
|
| 38 | 28 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param ContainerInterface $container |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | 10 | public function __invoke(ContainerInterface $container) |
|
| 48 | } |
||
| 49 | } |
||
| 50 |