Laravelista\LumenVendorPublish\VendorPublishCommand::publishFile PHP Méthode

publishFile() protected méthode

Publish the file to the given path.
protected publishFile ( string $from, string $to ) : void
$from string
$to string
Résultat void
    protected function publishFile($from, $to)
    {
        if ($this->files->exists($to) && !$this->option('force')) {
            return;
        }
        $this->createParentDirectory(dirname($to));
        $this->files->copy($from, $to);
        $this->status($from, $to, 'File');
    }