1 | <?php |
||
8 | abstract class AbstractBaseHtmlTagObject |
||
9 | { |
||
10 | /** |
||
11 | * Normalize a value. |
||
12 | * |
||
13 | * @param mixed $values |
||
14 | * The value to normalize. |
||
15 | * |
||
16 | * @return array |
||
17 | * The value normalized. |
||
18 | */ |
||
19 | 29 | public function normalizeValue($values) |
|
30 | |||
31 | /** |
||
32 | * Transform a multidimensional array into a flat array. |
||
33 | * |
||
34 | * @param mixed[] $array |
||
35 | * The input array. |
||
36 | * |
||
37 | * @return mixed[] |
||
38 | * The array with only one dimension. |
||
39 | */ |
||
40 | 29 | public function ensureFlatArray(array $array) |
|
52 | |||
53 | /** |
||
54 | * Make sure the value is an array. |
||
55 | * |
||
56 | * @param mixed $value |
||
57 | * The input value. |
||
58 | * |
||
59 | * @return array |
||
60 | * The input value in an array. |
||
61 | */ |
||
62 | 24 | public function ensureArray($value) |
|
90 | } |
||
91 |