1 | <?php |
||
22 | trait DataTablesWrapperTrait { |
||
23 | |||
24 | /** |
||
25 | * Wrapper. |
||
26 | * |
||
27 | * @var DataTablesWrapperInterface|null |
||
28 | */ |
||
29 | private $wrapper; |
||
30 | |||
31 | /** |
||
32 | * Get the the wrapper. |
||
33 | * |
||
34 | * @return DataTablesWrapperInterface|null Returns the wrapper. |
||
35 | */ |
||
36 | public function getWrapper(): ?DataTablesWrapperInterface { |
||
39 | |||
40 | /** |
||
41 | * Set the wrapper. |
||
42 | * |
||
43 | * @param DataTablesWrapperInterface|null $wrapper The wrapper. |
||
44 | * @return self Returns this instance. |
||
45 | */ |
||
46 | protected function setWrapper(?DataTablesWrapperInterface $wrapper): self { |
||
50 | } |
||
51 |