From 8ebdeaff6c22dfe140dc54edf67f70967f9dc71f Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 1 Feb 2021 01:14:15 +0100 Subject: [PATCH] Close API --- src/Datagrid/ProxyQuery.php | 2 ++ src/Exporter/DataSource.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/Datagrid/ProxyQuery.php b/src/Datagrid/ProxyQuery.php index a44f197f4..f23f48ea1 100644 --- a/src/Datagrid/ProxyQuery.php +++ b/src/Datagrid/ProxyQuery.php @@ -22,6 +22,8 @@ /** * This class try to unify the query usage with Doctrine. * + * @final since sonata-project/doctrine-orm-admin-bundle 3.x + * * @method Query\Expr expr() * @method QueryBuilder setCacheable($cacheable) * @method bool isCacheable() diff --git a/src/Exporter/DataSource.php b/src/Exporter/DataSource.php index 27399cce7..73a46a843 100644 --- a/src/Exporter/DataSource.php +++ b/src/Exporter/DataSource.php @@ -20,6 +20,9 @@ use Sonata\Exporter\Source\DoctrineORMQuerySourceIterator; use Sonata\Exporter\Source\SourceIteratorInterface; +/** + * @final since sonata-project/doctrine-orm-admin-bundle 3.x + */ class DataSource implements DataSourceInterface { public function createIterator(ProxyQueryInterface $query, array $fields): SourceIteratorInterface