/** * event listener is named this way, as it listens for events leading to changed code files * * @param \Composer\Script\CommandEvent $event */ public function onNewCodeEvent(\Composer\Script\CommandEvent $event) { if ($this->io->isDebug()) { $this->io->write('start magento deploy via deployManager'); } $this->deployManager->doDeploy(); $this->deployLibraries(); $this->saveVendorDirPath($event->getComposer()); }
/** * event listener is named this way, as it listens for events leading to changed code files * * @param \Composer\Script\CommandEvent $event */ public function onNewCodeEvent(\Composer\Script\CommandEvent $event) { if ($this->io->isDebug()) { $this->io->write('start magento deploy via deployManager'); } $command = $event->getName(); $this->deployManager->doDeploy(); $this->deployLibraries(); }
/** * event listener is named this way, as it listens for events leading to changed code files * * @param \Composer\Script\Event $event */ public function onNewCodeEvent(\Composer\Script\Event $event) { if ($this->io->isDebug()) { $this->io->write('start magento deploy via deployManager'); } $this->deployManager->doDeploy(); $this->deployLibraries(); $this->saveVendorDirPath($event->getComposer()); $this->requestRegeneration(); $this->setFilePermissions(); }
/** * event listener is named this way, as it listens for events leading to changed code files * * @param \Composer\Script\Event $event */ public function onNewCodeEvent(\Composer\Script\Event $event) { if ($this->io->isDebug()) { $this->io->write('start magento deploy via deployManager'); } $this->deployManager->doDeploy(); $this->deployLibraries(); $this->saveVendorDirPath($event->getComposer()); $filename = $this->installer->getTargetDir() . $this->regenerate; touch($filename); }