1 | <?php |
||
23 | class ExtensionChain implements ExtensionInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var \SplPriorityQueue|ExtensionInterface[] |
||
27 | */ |
||
28 | private $extensions; |
||
29 | |||
30 | /** |
||
31 | * ExtensionChain constructor. |
||
32 | */ |
||
33 | 12 | public function __construct() |
|
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 12 | public function buildOptions(array $options) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 12 | public function buildItem(ItemInterface $item, array $options) |
|
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | 12 | public function addExtension(ExtensionInterface $extension, int $priority = 0) |
|
68 | |||
69 | 12 | private function getExtensions() |
|
73 | } |
||
74 |