| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class MixedEntry implements EntryInterface |
||
| 15 | { |
||
| 16 | /** @var mixed The value for the entry */ |
||
| 17 | private $value; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * MixedType constructor. |
||
| 21 | * @param mixed $value The value for the entry |
||
| 22 | */ |
||
| 23 | 8 | public function __construct($value) |
|
| 24 | { |
||
| 25 | 8 | $this->value = $value; |
|
| 26 | 8 | } |
|
| 27 | |||
| 28 | /** {@inheritdoc} */ |
||
| 29 | 2 | public static function createFromCacheParameters(array $parameters): EntryInterface |
|
| 32 | } |
||
| 33 | |||
| 34 | /** {@inheritdoc} */ |
||
| 35 | 3 | public function getCacheParameters(): array |
|
| 38 | } |
||
| 39 | |||
| 40 | /** {@inheritdoc} */ |
||
| 41 | 6 | public function isFactory(): bool |
|
| 44 | } |
||
| 45 | |||
| 46 | /** {@inheritdoc} */ |
||
| 47 | 6 | public function getValue(ContainerInterface $container) |
|
| 56 |