X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/991dd47b40783c56aee07179f42940cbbbae46bd..578d9c40c478fb956228ac45e8aa325bd8aecbb6:/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);