Menno, I see you are using annotation for return boolean. I use php mapping
instead. How can I use your function?
return (bool)$this->user instanceof \Entities\User;
Is something correct?
How do you use this function? Before using $user->getUsername();
you use that haser function if true then you call getUsername() for example?

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to