1 | <?php |
||
28 | class Pool implements PluginInterface |
||
29 | { |
||
30 | /** |
||
31 | * @var PoolInfoInterface |
||
32 | */ |
||
33 | protected $pool; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $title; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $slug; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | protected $categorySlug; |
||
49 | |||
50 | /** |
||
51 | * @var Node |
||
52 | */ |
||
53 | private $node; |
||
54 | |||
55 | /** |
||
56 | * Cached configuration state |
||
57 | * |
||
58 | * @var Configuration |
||
59 | */ |
||
60 | private $configuration; |
||
61 | |||
62 | /** |
||
63 | * Pool constructor. |
||
64 | * @param PoolInfoInterface $pool |
||
65 | * @param string $slug |
||
66 | * @param string $categorySlug |
||
67 | * @param string $title |
||
68 | */ |
||
69 | 7 | public function __construct(PoolInfoInterface $pool, $title, $slug, $categorySlug) |
|
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | 7 | public function setNode(Node $node) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 1 | public function getSlug(): string |
|
92 | |||
93 | /** |
||
94 | * {@inheritdoc} |
||
95 | */ |
||
96 | 1 | public function getCategorySlug(): string |
|
100 | |||
101 | /** |
||
102 | * {@inheritdoc} |
||
103 | */ |
||
104 | public function getCapabilities(): array |
||
108 | |||
109 | /** |
||
110 | * {@inheritdoc} |
||
111 | */ |
||
112 | 2 | public function getConfiguration(): PromiseInterface |
|
128 | |||
129 | /** |
||
130 | * {@inheritdoc} |
||
131 | */ |
||
132 | 2 | public function getValues(): PromiseInterface |
|
142 | } |
||
143 |