1 | <?php |
||
8 | abstract class AbstractFrontendDataProvider |
||
9 | { |
||
10 | /** |
||
11 | * @var string Optional key that will be used when this provider is json encoded |
||
12 | */ |
||
13 | protected $key; |
||
14 | |||
15 | /** |
||
16 | * The data that will be JSON encoded |
||
17 | * |
||
18 | * @return mixed |
||
19 | */ |
||
20 | abstract public function data(); |
||
21 | |||
22 | public function store() |
||
26 | |||
27 | protected function key() |
||
43 | |||
44 | public function hasData(): bool |
||
48 | } |
||
49 |