| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ChartWidgetPlugin extends AbstractWidgetPlugin implements ChartWidgetPluginInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $chartPluginName |
||
| 17 | * @param string|null $dataIdentifier |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | public function initialize(string $chartPluginName, ?string $dataIdentifier = null): void |
||
| 22 | { |
||
| 23 | |||
| 24 | $this |
||
| 25 | ->addParameter('chartPluginName', $chartPluginName) |
||
| 26 | ->addParameter('dataIdentifier', $dataIdentifier); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public static function getName(): string |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public static function getTemplate(): string |
||
| 43 | } |
||
| 44 | } |
||
| 45 |