public function find(Route $route) { $this->datos = Tipopago::find($route->getParameter('tipopago')); }