diff --git a/_ide_helper.php b/_ide_helper.php index 82025a0d15d..5ac7da5a349 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -18,16 +18,22 @@ /** * @var \Hyde\Support\Models\Route $currentRoute The route for the page being compiled/previewed - * @deprecated Rename to $route as "current" is implied + * @deprecated Renamed to $route as "current" is implied */ $currentRoute = \Hyde\Support\Facades\Render::getRoute(); /** * @var string $currentPage The route key for the page being compiled/previewed - * @deprecated Rename to $routeKey as "current" is implied, and it's not a page + * @deprecated Renamed to $routeKey as "current" is implied, and it's not a page */ $currentPage = \Hyde\Support\Facades\Render::getRouteKey(); +/*** @var \Hyde\Support\Models\Route $currentRoute The route for the page being compiled/previewed */ +$route = \Hyde\Support\Facades\Render::getRoute(); + +/** @var string $currentPage The route key for the page being compiled/previewed */ +$routeKey = \Hyde\Support\Facades\Render::getRouteKey(); + // Facades (aliased in app/config.php) /** @mixin \Hyde\Foundation\HydeKernel */