Getting Data from Dynamic Models in Laravel

$model="App\\".$passed_variable;
return $model::findOrFail($id);