/** * * verify if the profile exists * * @param int $profil * @return type */ protected function verifyProfil($profil) { $pfil = new Profil(); return $pfil->charger_id($profil); }