src/Console/Installable.php
private function install($files)
    {
        foreach ($files as $fileSrc => $fileDst) {
            if (file_exists($fileDst) && !$this->force && !$this->confirmOverwrite(basename($fileDst))) {
                return;
            }
            if ($this->files->isFile($fileSrc)) {
                $this->publishFile($fileSrc, $fileDst);
            } elseif ($this->files->isDirectory($fileSrc)) {
                $this->publishDirectory($fileSrc, $fileDst);
            } else {
                $this->error("Can't locate path: <{$fileSrc}>");
            }
        }
    }
private function install($files)
    {
        foreach ($files as $fileSrc => $fileDst) {
            if (file_exists($fileDst) && !$this->force && !$this->confirmOverwrite(basename($fileDst))) {
                return;
            }
            if ($this->files->isFile($fileSrc)) {
                $this->publishFile($fileSrc, $fileDst);
            } elseif ($this->files->isDirectory($fileSrc)) {
                $this->publishDirectory($fileSrc, $fileDst);
            } else {
                $this->error("Can't locate path: <{$fileSrc}>");
            }
        }
    }
private function install ( $ files ) { foreach ( $ files as $ fileSrc => $ fileDst ) { if ( file_exists ( $ fileDst ) && ! $ this -> force && ! $ this -> confirmOverwrite ( basename ( $ fileDst ) ) ) { return ; } if ( $ this -> files -> isFile ( $ fileSrc ) ) { $ this -> publishFile ( $ fileSrc , $ fileDst ) ; } elseif ( $ this -> files -> isDirectory ( $ fileSrc ) ) { $ this -> publishDirectory ( $ fileSrc , $ fileDst ) ; } else { $ this -> error ( "Can't locate path: <{$fileSrc}>" ) ; } } }
Install files from array.

@param $files
Install files from array .