On Tue, Feb 1, 2011 at 12:14 PM, Konstantin Kudryashov
<[email protected]>wrote:

> BTW. Why not to move all fields into separate namespace? Like
>
> use Symfony\Component\Form\Form,
>        Symfony\Copmonent\Form\Field\TextField,
>        Symfony\Copmonent\Form\Field\EmailField;
>
> I think it could clean API little bit.
>
>
That's a bit like having Bundle\ in a bundle namespace.  I realize that's
done for Constraints, but that's mainly because Constraint classes don't all
end in "Constraint".  Based on recent IRC discussions, I'm sure plenty would
get annoyed at having Field appear twice in the full class path.

And remember that Form is a Field, too :)

-- 
jeremy mikola

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to