mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
initial commit
This commit is contained in:
17
Repository/FamilyMemberRepository.php
Normal file
17
Repository/FamilyMemberRepository.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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 ]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user