1 | <?php |
||
15 | class Attributes implements ExtensionInterface |
||
16 | { |
||
17 | /** |
||
18 | * @param \League\Plates\Engine $engine |
||
19 | */ |
||
20 | public function register(Engine $engine) |
||
25 | |||
26 | /** |
||
27 | * It will merge multiple attributes arrays without erase values |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | public static function mergeAttributes() |
||
42 | |||
43 | /** |
||
44 | * @param array $arr1 |
||
45 | * @param array $arr2 |
||
46 | * @return array |
||
47 | */ |
||
48 | protected static function mergeRecursive(array $arr1, array $arr2) |
||
61 | |||
62 | /** |
||
63 | * Render the attributes |
||
64 | * |
||
65 | * @param array $attributes |
||
66 | * @return string |
||
67 | */ |
||
68 | public static function mapAttributes(array $attributes) |
||
79 | } |
||
80 |