svp dans ce code quelle chose ne vas pas parce que il m 'affiche des erreurs
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
 
namespace MyApp\emploiBundle\Form;
 
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
 
class PvJobCandCoordonneesType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder
            ->add('codeCryptCand')
            ->add('sexeCand')
            ->add('nomCand')
            ->add('prenomCand')
            ->add('dateNaissCand')
            ->add('adrCand')
            ->add('villeCand')
            ->add('codePostalCand')
            ->add('paysCand')
            ->add('tel1Cand')
            ->add('tel2Cand')
            ->add('cellCand')
            ->add('courrierCand')
            ->add('courrierActivationCand')
            ->add('urlCand')
            ->add('dateDispCand')
            ->add('etatDossierCand')
            ->add('dateDernierAccesCandOld')
            ->add('dateDernierAccesCand')
            ->add('dateDernierMail')
            ->add('codeMailingList')
            ->add('codeDernierEmailJournalier')
            ->add('receptionMailing')
            ->add('codeClient')
            ->add('idEtatCivil')
            ->add('pvCodeMailingList')
            ->add('idPays','entity',array(
'class' => 'MyApp\emploiBundle\Entity\PvJobLstPays','Label'=>' 'Pays':','property'=>'lib_pays'))
            ->add('idNivCarriere')
            ->add('codeMbr')
        ;
    }
 
 
    public function getName()
    {
        return 'myapp_emploibundle_pvjobcandcoordonneestype';
    }
}
voila l 'erreur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
(!) Parse error: syntax error, T_STRING inattendu, attendait ')' dans C: \ wamp \ www \ symfony \ src \ MyApp \ emploiBundle \ formulaire \ PvJobCandCoordonneesType.php en ligne 40