| 1 | <?php |
||
| 4 | class MergeAttributes |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var array |
||
| 8 | */ |
||
| 9 | protected $arrays = []; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * MergeAttributes constructor. |
||
| 13 | */ |
||
| 14 | 8 | public function __construct() |
|
| 18 | |||
| 19 | /** |
||
| 20 | * Merge array values as html attributes |
||
| 21 | * |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | 8 | public function merge() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $valueOne |
||
| 54 | * @param string $valueTwo |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 7 | protected function mergeValues($valueOne, $valueTwo) |
|
| 70 | } |