check isset and assign wihtout if statement laravel code example
Example: isset laravel
//In Controller
public function returnView() {
return View::make('view')->with('param',$param);
}
//In View
@isset($param)
//In Controller
public function returnView() {
return View::make('view')->with('param',$param);
}
//In View
@isset($param)