Bonjour,
J'ai un array associatif avec des champs procted, de forme un peu compliquée!
Voici l'affichage de mon array.
Je croyais que
Array ( [0] => Zero\UserBundle\Entity\Profile Object ( [id:protected] => 30 [firstName:Zero\UserBundle\Entity\Profile:private] => [lastName:Zero\UserBundle\Entity\Profile:private] => [town:Zero\UserBundle\Entity\Profile:private] => [height:Zero\UserBundle\Entity\Profile:private] => [weight:Zero\UserBundle\Entity\Profile:private] => [dateOfBirth:Zero\UserBundle\Entity\Profile:private] => [sex:Zero\UserBundle\Entity\Profile:private] => [photo:Zero\UserBundle\Entity\Profile:private] => [sport:Zero\UserBundle\Entity\Profile:private] => [country:Zero\UserBundle\Entity\Profile:private] => [username:protected] => baza1225@ho.fr [usernameCanonical:protected] => baza1225@ho.fr [email:protected] => baza1225@ho.fr [emailCanonical:protected] => baza1225@ho.fr [enabled:protected] => [salt:protected] => 5b8nygaocp8oo0cc4wg0wo40o000cgw [password:protected] => 585 [plainPassword:protected] => [lastLogin:protected] => [confirmationToken:protected] => [passwordRequestedAt:protected] => [groups:protected] => [locked:protected] => [expired:protected] => [expiresAt:protected] => [roles:protected] => Array ( ) [credentialsExpired:protected] => [credentialsExpireAt:protected] => ) )
suffisait, mais ce n'est pas le cas. Une idée, svp?
Code : Sélectionner tout - Visualiser dans une fenêtre à part $array['champ']
Partager