public function getReplacementsFor($address)
    {
        $organism = $this->manager->getRepository('LibrinfoCRMBundle:Organism')->findOneBy(array('email' => $address));

        if ($organism) {
            if ($organism->isIndividual()) {
                return array(
                    '{prenom}' => $organism->getFirstName(),
                    '{nom}'    => $organism->getLastName(),
                    '{titre}'  => $organism->getTitle(),
                );
            } else {
                return array(
                    '{nom}' => $organism->getName(),
                );
            }
        }
    }
public function getReplacementsFor($address)
    {
        $organism = $this->manager->getRepository('LibrinfoCRMBundle:Organism')->findOneBy(array('email' => $address));

        if ($organism) {
            if ($organism->isIndividual()) {
                return array(
                    '{prenom}' => $organism->getFirstName(),
                    '{nom}'    => $organism->getLastName(),
                    '{titre}'  => $organism->getTitle(),
                );
            } else {
                return array(
                    '{nom}' => $organism->getName(),
                );
            }
        }
    }
public function getReplacementsFor ( $ address ) { $ organism = $ this -> manager -> getRepository ( 'LibrinfoCRMBundle:Organism' ) -> findOneBy ( array ( 'email' => $ address ) ) ; if ( $ organism ) { if ( $ organism -> isIndividual ( ) ) { return array ( '{prenom}' => $ organism -> getFirstName ( ) , '{nom}' => $ organism -> getLastName ( ) , '{titre}' => $ organism -> getTitle ( ) , ) ; } else { return array ( '{nom}' => $ organism -> getName ( ) , ) ; } } }
Returns Contact info if LibrinfoCRMBundle is installed.

@param type $address

@return type
Returns Contact info if LibrinfoCRMBundle is installed .