diff --git a/src/Registry/CrudControllerRegistry.php b/src/Registry/CrudControllerRegistry.php index 1bcad70ded..c502aa7b2f 100644 --- a/src/Registry/CrudControllerRegistry.php +++ b/src/Registry/CrudControllerRegistry.php @@ -4,6 +4,8 @@ /** * @author Javier Eguiluz + * + * @deprecated since 4.25.0, will be removed in EasyAdmin 5.0.0. This registry is generally not needed by developers in newer versions of EasyAdmin. If you require similar functionality, use the equivalent item in the Symfony Cache pool managed by EasyAdmin (inject the "cache.easyadmin" service). */ final class CrudControllerRegistry { diff --git a/src/Registry/DashboardControllerRegistry.php b/src/Registry/DashboardControllerRegistry.php index 3596834a4e..69cb7daba0 100644 --- a/src/Registry/DashboardControllerRegistry.php +++ b/src/Registry/DashboardControllerRegistry.php @@ -5,6 +5,9 @@ use EasyCorp\Bundle\EasyAdminBundle\Cache\CacheWarmer; use function Symfony\Component\String\u; +/** + * @deprecated since 4.25.0, will be removed in EasyAdmin 5.0.0. This registry is generally not needed by developers in newer versions of EasyAdmin. If you require similar functionality, use the equivalent item in the Symfony Cache pool managed by EasyAdmin (inject the "cache.easyadmin" service). + */ final class DashboardControllerRegistry implements DashboardControllerRegistryInterface { private array $controllerFqcnToRouteMap = []; diff --git a/src/Registry/DashboardControllerRegistryInterface.php b/src/Registry/DashboardControllerRegistryInterface.php index e252ba75d5..9141ce8f84 100644 --- a/src/Registry/DashboardControllerRegistryInterface.php +++ b/src/Registry/DashboardControllerRegistryInterface.php @@ -2,6 +2,9 @@ namespace EasyCorp\Bundle\EasyAdminBundle\Registry; +/** + * @deprecated since 4.25.0, will be removed in EasyAdmin 5.0.0. This registry is generally not needed by developers in newer versions of EasyAdmin. + */ interface DashboardControllerRegistryInterface { public function getControllerFqcnByContextId(string $contextId): ?string;