for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\ViewComposers;
use Illuminate\View\View;
use Illuminate\Support\Facades\Lang;
use App\Models\Lookup\DegreeType;
class DegreeComposer
{
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
$view->with('degree_types', DegreeType::all());
$view->with('degree_template', Lang::get('common/degree'));
}