|
|
|
@ -195,6 +195,7 @@ $config->setEntityNamespaces( |
|
|
|
|
$entityManager = EntityManager::create($dbParams, $config); |
|
|
|
|
|
|
|
|
|
use Doctrine\Common\Annotations\AnnotationRegistry; |
|
|
|
|
|
|
|
|
|
AnnotationRegistry::registerAutoloadNamespace( |
|
|
|
|
'Symfony\Component\Validator\Constraint', |
|
|
|
|
api_get_path(SYS_PATH)."vendor/symfony/validator" |
|
|
|
|