public function copyModuleFiles(PackageEvent $event): void
    {
        $package = $this->extractPackage($event);
        $this->packagePath = $this->vendorPath .DS. $package->getName();
        if ($package->getType() === 'bluz-module' && file_exists($this->packagePath)) {
            if ($package->getExtra() && isset($package->getExtra()['copy-files'])) {
                $this->copyExtras($package->getExtra()['copy-files']);
            }
            $this->copyModule();
        }
    }
public function copyModuleFiles(PackageEvent $event): void
    {
        $package = $this->extractPackage($event);
        $this->packagePath = $this->vendorPath .DS. $package->getName();
        if ($package->getType() === 'bluz-module' && file_exists($this->packagePath)) {
            if ($package->getExtra() && isset($package->getExtra()['copy-files'])) {
                $this->copyExtras($package->getExtra()['copy-files']);
            }
            $this->copyModule();
        }
    }
public function copyModuleFiles ( PackageEvent $ event ) : void { $ package = $ this -> extractPackage ( $ event ) ; $ this -> packagePath = $ this -> vendorPath . DS . $ package -> getName ( ) ; if ( $ package -> getType ( ) === 'bluz-module' && file_exists ( $ this -> packagePath ) ) { if ( $ package -> getExtra ( ) && isset ( $ package -> getExtra ( ) [ 'copy-files' ] ) ) { $ this -> copyExtras ( $ package -> getExtra ( ) [ 'copy-files' ] ) ; } $ this -> copyModule ( ) ; } }
Hook which is called after install package
It copies bluz module

@param PackageEvent $event

@throws \InvalidArgumentException
Hook which is called after install package It copies bluz module