| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public static function create(Utils\ArrayHash $parameters, DI\Container $container) : Cached\Storage\Stash |
||
| 43 | { |
||
| 44 | /** @var Stash\Pool $pool */ |
||
| 45 | $pool = $container->getService($parameters->pool); |
||
| 46 | |||
| 47 | return new Cached\Storage\Stash($pool, $parameters->key, $parameters->expires); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |