Answer the question
In order to leave comments, you need to log in
Is it possible to specify is_dir() regex?
App:
is_bundle: false
type: xml
dir: '%kernel.project_dir%/src/App/**/{Infrastructure}'
prefix: 'App\**\Infrastructure\Entity'
alias: App
In AbstractDoctrineExtension.php line 231:
Specified non-existing directory "/var/www/test/src/App/**/{Infrastructure}" as Doctrine mapping source.
if (!is_dir($mappingConfig['dir'])) { // принимает ли тут регулярки, если да, то какие?
dd(is_dir('(?<=\/var\/www\/app\/src\/Bundle)(.*)(?=Infrastructure)'));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question