1 | <?php |
||
23 | class DataTablesMapping implements DataTablesMappingInterface { |
||
24 | |||
25 | /** |
||
26 | * Column. |
||
27 | * |
||
28 | * @var string|null |
||
29 | */ |
||
30 | private $column; |
||
31 | |||
32 | /** |
||
33 | * Parent. |
||
34 | * |
||
35 | * @var DataTablesColumnInterface|null |
||
36 | */ |
||
37 | private $parent; |
||
38 | |||
39 | /** |
||
40 | * Prefix. |
||
41 | * |
||
42 | * @var string|null |
||
43 | */ |
||
44 | private $prefix; |
||
45 | |||
46 | /** |
||
47 | * Constructor. |
||
48 | */ |
||
49 | public function __construct() { |
||
52 | |||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | */ |
||
56 | public function getColumn(): ?string { |
||
59 | |||
60 | /** |
||
61 | * {@inheritDoc} |
||
62 | */ |
||
63 | public function getParent(): ?DataTablesColumnInterface { |
||
66 | |||
67 | /** |
||
68 | * {@inheritDoc} |
||
69 | */ |
||
70 | public function getPrefix(): ?string { |
||
73 | |||
74 | /** |
||
75 | * {@inheritDoc} |
||
76 | */ |
||
77 | public function setColumn(?string $column): DataTablesMappingInterface { |
||
81 | |||
82 | /** |
||
83 | * Set the parent. |
||
84 | * |
||
85 | * @param DataTablesColumnInterface|null $parent The parent. |
||
86 | * @return DataTablesMappingInterface Returns this mapping. |
||
87 | */ |
||
88 | public function setParent(?DataTablesColumnInterface $parent): DataTablesMappingInterface { |
||
92 | |||
93 | /** |
||
94 | * {@inheritDoc} |
||
95 | */ |
||
96 | public function setPrefix(?string $prefix): DataTablesMappingInterface { |
||
100 | } |
||
101 |