mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix error in commit
This commit is contained in:
parent
4be3efc619
commit
a4caf733f1
@ -38,18 +38,4 @@ class LocationRepository extends ServiceEntityRepository
|
||||
{
|
||||
return $this->findBy(['active' => true, 'availableForUsers' => true]);
|
||||
}
|
||||
|
||||
/**
|
||||
* fetch location by name
|
||||
*
|
||||
* @return array|Location[]
|
||||
*/
|
||||
public function findByName(string $name, string $lang): array
|
||||
{
|
||||
$rsm = new ResultSetMappingBuilder($this->getEntityManager());
|
||||
$rsm->addRootEntityFromClassMetadata(Location::class);
|
||||
|
||||
$sql = "SELECT "
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user