Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Doctrine i __PHP_Incomplete_Class, Przechowywanie entities w sesji
Fluke
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 9
Dołączył: 20.09.2010
Skąd: Kraków

Ostrzeżenie: (0%)
-----


Witam,

Mam problem z __PHP_Incomplete_Class w Doctrine 2.
Patrzyłem na stronę: Entites in the Session ale nic z tych 2 rzeczy nie wychodzi.

Chcę uzyskać taki wynik
  1. object(User\Entity\User\Partner)[270]
  2. public 'ref' => int 1
  3. protected 'id' => int 1
  4. protected '_role' => null
  5. public 'email' => string 'asd@asd.pl' (length=10)
  6. public 'password' => string '98c1bff212afd992c28d3e2c5f9ef70e' (length=32)
  7. public 'personalDetails' => int 2
  8. public 'activationCode' => null
  9. public 'isActive' => boolean true
  10. protected '_personalDetails' => null


A cały czas dostaję:
  1. object(__PHP_Incomplete_Class)[9]
  2. public '__PHP_Incomplete_Class_Name' => string 'User\Entity\User\Partner' (length=24)
  3. public 'ref' => int 1
  4. protected 'id' => int 1
  5. protected '_role' => null
  6. public 'email' => string 'asd@asd.pl' (length=10)
  7. public 'password' => string '98c1bff212afd992c28d3e2c5f9ef70e' (length=32)
  8. public 'personalDetails' => int 2
  9. public 'activationCode' => null
  10. public 'isActive' => boolean true
  11. protected '_personalDetails' => null


Nie mogę sobie z tym poradzić.

Ma ktoś jakieś dobre rozwiązanie tego problemu ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 16:56