| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | final class DataGridActionHelp extends DataGridActionBase |
||
| 35 | { |
||
| 36 | /** |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | private $template; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * DataGridActionHelp constructor. |
||
| 43 | * |
||
| 44 | * @param string $template |
||
| 45 | */ |
||
| 46 | public function __construct(string $template) |
||
| 47 | { |
||
| 48 | parent::__construct(0); |
||
| 49 | |||
| 50 | $this->type = DataGridActionType::HELP_ITEM; |
||
| 51 | $this->template = $template; |
||
| 52 | |||
| 53 | $this->setSkip(true); |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getTemplate(): string |
||
| 62 | } |
||
| 63 | } |