mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
18 lines
331 B
PHP
18 lines
331 B
PHP
<?php
|
|
|
|
namespace Chill\AMLI\FamilyMembersBundle\Repository;
|
|
|
|
use Chill\PersonBundle\Entity\Person;
|
|
|
|
/**
|
|
* FamilyMemberRepository
|
|
*
|
|
*/
|
|
class FamilyMemberRepository extends \Doctrine\ORM\EntityRepository
|
|
{
|
|
public function findActiveByPerson(Person $person)
|
|
{
|
|
return $this->findBy([ 'person' => $person ]);
|
|
}
|
|
}
|