protected function copyModule(): void
    {
        foreach (self::DIRECTORIES as $directory) {
            $this->copy(
                $this->packagePath . DS . $directory . DS,
                PATH_ROOT . DS . $directory . DS
            );
        }

        $this->installer->getIo()->write(
            sprintf(
                '  - Copied <comment>%s</comment> module to application',
                basename($this->packagePath)
            ),
            true
        );
    }
protected function copyModule(): void
    {
        foreach (self::DIRECTORIES as $directory) {
            $this->copy(
                $this->packagePath . DS . $directory . DS,
                PATH_ROOT . DS . $directory . DS
            );
        }

        $this->installer->getIo()->write(
            sprintf(
                '  - Copied <comment>%s</comment> module to application',
                basename($this->packagePath)
            ),
            true
        );
    }
protected function copyModule ( ) : void { foreach ( self :: DIRECTORIES as $ directory ) { $ this -> copy ( $ this -> packagePath . DS . $ directory . DS , PATH_ROOT . DS . $ directory . DS ) ; } $ this -> installer -> getIo ( ) -> write ( sprintf ( '  - Copied <comment>%s</comment> module to application' , basename ( $ this -> packagePath ) ) , true ) ; }
Copy Module files

@return void
@throws \InvalidArgumentException
Copy Module files