1 | <?php |
||
8 | trait StructureWithDataAlias |
||
9 | { |
||
10 | abstract public function withValues(array $values); |
||
11 | |||
12 | /** |
||
13 | * Backwards compatability with Destrukt. |
||
14 | * |
||
15 | * @deprecated since 1.3.0, to be removed in 2.0.0 |
||
16 | * |
||
17 | * @param array $data |
||
18 | * |
||
19 | * @return static |
||
20 | */ |
||
21 | public function withData(array $data) |
||
25 | } |
||
26 |