Sorry, my first message has been chopped. Btw, i should mention i'm
talking about Symfony 2 :)

The issue is, that even if i add the "use"-instructions for the
classes i'm explicitly using (Form, TextField, IntegerField), further
used classes will be also not found.
In the example code the next class which is not getting found is
"NumberFormatter", required by IntegerField:

Fatal error: Class 'NumberFormatter' not found in /var/www/vhost/
sandbox.local/src/vendor/symfony/src/Symfony/Component/Form/
IntegerField.php

The namespace "Symfony" is registered in autoload.php
registerNamespaces():

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
    'Symfony'                        => $vendorDir.'/symfony/src',
    ...

Any hints what else to do to set up autoloading correctly? :)

Thanks

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to