Add new packages on the link script
This commit is contained in:
parent
4103a6ebd2
commit
2a2bb66ff2
2
link
2
link
@ -38,7 +38,7 @@ if (!is_dir("$pathToProject/vendor/symfony")) {
|
|||||||
$sfPackages = array('symfony/symfony' => __DIR__);
|
$sfPackages = array('symfony/symfony' => __DIR__);
|
||||||
|
|
||||||
$filesystem = new Filesystem();
|
$filesystem = new Filesystem();
|
||||||
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security', 'Contracts');
|
$braces = array('Bundle', 'Bridge', 'Component', 'Component/Security', 'Component/Mailer/Bridge', 'Component/Messenger/Bridge', 'Component/Notifier/Bridge', 'Contracts');
|
||||||
$directories = array_merge(...array_values(array_map(function ($part) {
|
$directories = array_merge(...array_values(array_map(function ($part) {
|
||||||
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
|
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
|
||||||
}, $braces)));
|
}, $braces)));
|
||||||
|
Reference in New Issue
Block a user