mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 20:34:09 +00:00
8a28eb1790
This reverts merge request !5
20 lines
321 B
PHP
20 lines
321 B
PHP
<?php
|
|
|
|
namespace App\Http\ViewComposers;
|
|
|
|
use Illuminate\View\View;
|
|
|
|
class CountriesListComposer {
|
|
/**
|
|
* Bind data to the view.
|
|
*
|
|
* @param View $view
|
|
*
|
|
*/
|
|
public function compose(View $view): void {
|
|
$view->with([
|
|
'countriesList' => countries(true)
|
|
]);
|
|
}
|
|
}
|