Classes/Domain/Repository/MetaRepository.php
public function findAssociationRepertoireByID($id)
    {
        $repertoires = $this->findAssociationRepertoires()->getRepertoires();

        $repertoires->rewind();

        while ($repertoires->valid()) {
            $repertoire = $repertoires->current();
            if ($repertoire->getID() == $id) {
                return $repertoire;
            }

            $repertoires->next();
        }
    }
public function findAssociationRepertoireByID($id)
    {
        $repertoires = $this->findAssociationRepertoires()->getRepertoires();

        $repertoires->rewind();

        while ($repertoires->valid()) {
            $repertoire = $repertoires->current();
            if ($repertoire->getID() == $id) {
                return $repertoire;
            }

            $repertoires->next();
        }
    }
public function findAssociationRepertoireByID ( $ id ) { $ repertoires = $ this -> findAssociationRepertoires ( ) -> getRepertoires ( ) ; $ repertoires -> rewind ( ) ; while ( $ repertoires -> valid ( ) ) { $ repertoire = $ repertoires -> current ( ) ; if ( $ repertoire -> getID ( ) == $ id ) { return $ repertoire ; } $ repertoires -> next ( ) ; } }
return a association repertoire

@param string repertoire id

@return Repertoire
return a association repertoire