public function copyProjectExtraFiles(Event $event): void
    {
        $extras = $event->getComposer()->getPackage()->getExtra();
        if (array_key_exists('copy-files', $extras)) {
            $this->installer->getIo()->write(
                sprintf('  - Copied additional file(s)'),
                true
            );
            $this->copyExtras($extras['copy-files']);
        }
    }
public function copyProjectExtraFiles(Event $event): void
    {
        $extras = $event->getComposer()->getPackage()->getExtra();
        if (array_key_exists('copy-files', $extras)) {
            $this->installer->getIo()->write(
                sprintf('  - Copied additional file(s)'),
                true
            );
            $this->copyExtras($extras['copy-files']);
        }
    }
public function copyProjectExtraFiles ( Event $ event ) : void { $ extras = $ event -> getComposer ( ) -> getPackage ( ) -> getExtra ( ) ; if ( array_key_exists ( 'copy-files' , $ extras ) ) { $ this -> installer -> getIo ( ) -> write ( sprintf ( '  - Copied additional file(s)' ) , true ) ; $ this -> copyExtras ( $ extras [ 'copy-files' ] ) ; } }
Copy extra files from compose.json of project

@param Event $event

@return void
@throws \InvalidArgumentException
Copy extra files from compose . json of project