We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4555b54 commit e1d9513Copy full SHA for e1d9513
src/Plugin.php
@@ -109,6 +109,7 @@ public static function getSubscribedEvents()
109
public function onPostAutoloadDump(Event $event)
110
{
111
$this->io->writeError('<info>Assembling config files</info>');
112
+ $this->initAutoload();
113
$this->scanPackages();
114
115
$builder = new Builder($this->files);
@@ -120,6 +121,11 @@ public function onPostAutoloadDump(Event $event)
120
121
$builder->buildConfigs();
122
}
123
124
+ protected function initAutoload()
125
+ {
126
+ require_once dirname(dirname(dirname(__DIR__))) . '/autoload.php';
127
+ }
128
+
129
protected function scanPackages()
130
131
foreach ($this->getPackages() as $package) {
0 commit comments