mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
Fix inject ManagerRegistry as dependency
This commit is contained in:
@@ -12,5 +12,12 @@ declare(strict_types=1);
|
||||
namespace Chill\MainBundle\Controller;
|
||||
|
||||
use Chill\MainBundle\CRUD\Controller\ApiController;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
class GeographicalUnitApiController extends ApiController {}
|
||||
class GeographicalUnitApiController extends ApiController
|
||||
{
|
||||
public function __construct(protected ManagerRegistry $managerRegistry)
|
||||
{
|
||||
parent::__construct($managerRegistry);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user