Skip to content

Commit

Permalink
Close API (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Feb 1, 2021
1 parent 19fea0c commit 83a789f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Datagrid/ProxyQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 3 additions & 0 deletions src/Exporter/DataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83a789f

Please sign in to comment.