public function to($path, $status = 302, $headers = [], $secure = null) { $path = $this->app->make('url')->to($path, [], $secure); return $this->createRedirect($path, $status, $headers); }