how to add to an array in larave code example
Example: how to add values to an array in laravel
$array = array('foo' => 'bar');
$array = array_add($array, 'key', 'value');
$array = array('foo' => 'bar');
$array = array_add($array, 'key', 'value');