src/Kernel/ServiceProvider.php
protected function publishes(array $paths, $group = null)
    {
        $this->ensurePublishArrayInitialized($class = static::class);
        static::$publishes[$class] = array_merge(static::$publishes[$class], $paths);
        if ($group) {
            $this->addPublishGroup($group, $paths);
        }
    }
protected function publishes(array $paths, $group = null)
    {
        $this->ensurePublishArrayInitialized($class = static::class);
        static::$publishes[$class] = array_merge(static::$publishes[$class], $paths);
        if ($group) {
            $this->addPublishGroup($group, $paths);
        }
    }
protected function publishes ( array $ paths , $ group = null ) { $ this -> ensurePublishArrayInitialized ( $ class = static :: class ) ; static :: $ publishes [ $ class ] = array_merge ( static :: $ publishes [ $ class ] , $ paths ) ; if ( $ group ) { $ this -> addPublishGroup ( $ group , $ paths ) ; } }
Register paths to be published by the publish command.

@param  array  $paths
@param  string  $group
@return void
Register paths to be published by the publish command .