1 | <?php |
||
13 | class Provider extends AbstractProvider |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $resource; |
||
19 | |||
20 | /** |
||
21 | * @param string $resource |
||
22 | * |
||
23 | * @return \drupol\Yaroc\Plugin\ProviderInterface |
||
24 | */ |
||
25 | public static function withResource(string $resource) :ProviderInterface |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getResource(): string |
||
40 | } |
||
41 |