Mehdi MAYS
2013-06-26 07:50:18 UTC
Salamo aalykom ,
i dont know about this error
when i want make upload file
i use this
use Symfony\Component\Validator\Constraint as Assert;
...
/**
* @Assert\File(maxSize="6000000")
*/
private $file;
...
the error is
[Semantical Error] The annotation
"@Symfony\Component\Validator\Constraint\File" in property
Test\FirstBundle\Entity\Document::$file does not exist, or could not be
auto-loaded.
how i can fix it ?
--
Merci
Cordialement
Mehdi MAYS
GSM : +212669609987
Analyste Développeur
--
--
If you want to report a vulnerability issue on Symfony, please read the procedure on http://symfony.com/security
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
---
You received this message because you are subscribed to the Google Groups "Symfony2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony2+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
i dont know about this error
when i want make upload file
i use this
use Symfony\Component\Validator\Constraint as Assert;
...
/**
* @Assert\File(maxSize="6000000")
*/
private $file;
...
the error is
[Semantical Error] The annotation
"@Symfony\Component\Validator\Constraint\File" in property
Test\FirstBundle\Entity\Document::$file does not exist, or could not be
auto-loaded.
how i can fix it ?
--
Merci
Cordialement
Mehdi MAYS
GSM : +212669609987
Analyste Développeur
--
--
If you want to report a vulnerability issue on Symfony, please read the procedure on http://symfony.com/security
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
---
You received this message because you are subscribed to the Google Groups "Symfony2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony2+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.