$rootDir = __DIR__ . '/../../../..';
$config = Setup::createAnnotationMetadataConfiguration(
[$rootDir . '/src'],
true
);tenho de trocar /src pela pasta onde vai ficar os meus xml de mapeamento ?
ATÉ 50% OFF
TÁ ACABANDO!
0 dias
0 horas
0 min
0 seg
$rootDir = __DIR__ . '/../../../..';
$config = Setup::createAnnotationMetadataConfiguration(
[$rootDir . '/src'],
true
);tenho de trocar /src pela pasta onde vai ficar os meus xml de mapeamento ?
$rootDir = __DIR__ . '/../../../..';
$config = Setup::createAnnotationMetadataConfiguration(
[$rootDir . '/src/Infrastructure/Persistence/xml'],
true
);Era só mudar o método do Setup