| 1 | <?php |
||
| 4 | class Properties |
||
| 5 | { |
||
| 6 | private $properties; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param $property |
||
| 10 | * @param $value |
||
| 11 | * @return $this |
||
| 12 | */ |
||
| 13 | public function add($property, $value) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param $properties |
||
| 22 | * @return $this |
||
| 23 | */ |
||
| 24 | public function addAll($properties) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $elem |
||
| 35 | * @param $template |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function render($template, $context = null) |
||
| 52 | |||
| 53 | } |
||
| 54 |