1 | <?php |
||
24 | class MultiGraph implements PluginInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var Node |
||
28 | */ |
||
29 | private $node; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $slug; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $category; |
||
40 | |||
41 | /** |
||
42 | * @param string $slug |
||
43 | * @param string $category |
||
44 | */ |
||
45 | public function __construct(string $slug, string $category) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function setNode(Node $node) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getSlug(): string |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function getCategorySlug(): string |
||
71 | { |
||
72 | return $this->category; |
||
73 | } |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function getConfiguration(): PromiseInterface |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function getValues(): PromiseInterface |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getCapabilities(): array |
||
100 | } |
||
101 |