X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/991dd47b40783c56aee07179f42940cbbbae46bd..98d9c3dc2b46ac796418794aae53b20925d45a8b:/Repository/SlotRepository.php?ds=sidebyside diff --git a/Repository/SlotRepository.php b/Repository/SlotRepository.php index bd356f7..d2b6eb3 100644 --- a/Repository/SlotRepository.php +++ b/Repository/SlotRepository.php @@ -13,6 +13,8 @@ namespace Rapsys\AirBundle\Repository; use Doctrine\ORM\Query\ResultSetMapping; +use Rapsys\AirBundle\Repository; + /** * SlotRepository */ @@ -25,7 +27,7 @@ class SlotRepository extends Repository { public function findAllWithTranslatedTitle(): array { //Set the request from quoted table name //XXX: this allow to make this code table name independent - $req = 'SELECT s.id, s.title FROM RapsysAirBundle:Slot AS s'; + $req = 'SELECT s.id, s.title FROM Rapsys\AirBundle\Entity\Slot AS s'; //Replace bundle entity name by table name $req = str_replace($this->tableKeys, $this->tableValues, $req);