1 | <?php |
||
27 | class Pool implements PluginInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var PoolInfoInterface |
||
31 | */ |
||
32 | protected $pool; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $title; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $slug; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $categorySlug; |
||
48 | |||
49 | /** |
||
50 | * @var Node |
||
51 | */ |
||
52 | private $node; |
||
53 | |||
54 | /** |
||
55 | * Cached configuration state |
||
56 | * |
||
57 | * @var Configuration |
||
58 | */ |
||
59 | private $configuration; |
||
60 | |||
61 | /** |
||
62 | * Pool constructor. |
||
63 | * @param PoolInfoInterface $pool |
||
64 | * @param string $slug |
||
65 | * @param string $categorySlug |
||
66 | * @param string $title |
||
67 | */ |
||
68 | 7 | public function __construct(PoolInfoInterface $pool, $title, $slug, $categorySlug) |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 7 | public function setNode(Node $node) |
|
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | 1 | public function getSlug(): string |
|
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | 1 | public function getCategorySlug(): string |
|
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | */ |
||
103 | 2 | public function getConfiguration(): PromiseInterface |
|
119 | |||
120 | /** |
||
121 | * {@inheritdoc} |
||
122 | */ |
||
123 | 2 | public function getValues(): PromiseInterface |
|
133 | } |
||
134 |