| 1 | <?php |
||
| 8 | class Extractor implements ExtractorInterface, \Serializable |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $cache; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var RequestStack |
||
| 17 | */ |
||
| 18 | private $stack; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var mixed |
||
| 22 | */ |
||
| 23 | private $json; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $cache |
||
| 27 | * @param RequestStack $stack |
||
| 28 | */ |
||
| 29 | public function __construct($cache, RequestStack $stack) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function extract() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function getCurrent() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritdoc} |
||
| 72 | */ |
||
| 73 | public function serialize() |
||
| 77 | |||
| 78 | /** |
||
| 79 | * {@inheritdoc} |
||
| 80 | */ |
||
| 81 | public function unserialize($value) |
||
| 85 | } |
||
| 86 |