protected function addRunonces(PackageInterface $package, array $files)
    {
        $rootDir = $this->getInstallPath($package);

        foreach ($files as $file) {
            $this->runonceManager->addFile($this->filesystem->normalizePath($rootDir . '/' . $file));
        }
    }
protected function addRunonces(PackageInterface $package, array $files)
    {
        $rootDir = $this->getInstallPath($package);

        foreach ($files as $file) {
            $this->runonceManager->addFile($this->filesystem->normalizePath($rootDir . '/' . $file));
        }
    }
protected function addRunonces ( PackageInterface $ package , array $ files ) { $ rootDir = $ this -> getInstallPath ( $ package ) ; foreach ( $ files as $ file ) { $ this -> runonceManager -> addFile ( $ this -> filesystem -> normalizePath ( $ rootDir . '/' . $ file ) ) ; } }
Adds runonce files of a package to the RunonceManager instance.

@param PackageInterface $package The package being processed.
@param array            $files   The file names of all runonce files.

@return void
Adds runonce files of a package to the RunonceManager instance .