src/LaravelWebauthnServiceProvider.php
/**
     * Register the package's publishable resources.
     *
     * @return void
     */
Register the package's publishable resources.
@return void
Register the package ' s publishable resources . @return void
private function registerPublishing()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../config/webauthn.php' => config_path('webauthn.php'),
            ], 'webauthn-config');
            $this->publishes([
                __DIR__.'/../database/migrations/' => database_path('migrations'),
            ], 'webauthn-migrations');
            $this->publishes([
                __DIR__.'/../resources/js' => public_path('vendor/pschocke/laravel-webauthn'),
            ], 'webauthn-assets');
        }
    }
private function registerPublishing ( ) { if ( $ this -> app -> runningInConsole ( ) ) { $ this -> publishes ( [ __DIR__ . '/../config/webauthn.php' => config_path ( 'webauthn.php' ) , ] , 'webauthn-config' ) ; $ this -> publishes ( [ __DIR__ . '/../database/migrations/' => database_path ( 'migrations' ) , ] , 'webauthn-migrations' ) ; $ this -> publishes ( [ __DIR__ . '/../resources/js' => public_path ( 'vendor/pschocke/laravel-webauthn' ) , ] , 'webauthn-assets' ) ; } }
Register the package's publishable resources.
Register the package ' s publishable resources .