Files
Reseaux-de-neurones-artific…/app/Providers/InitialSynapticWeightsProvider.php
Matthias Guillitte 83b7aa3f3a
Some checks failed
linter / quality (push) Failing after 7s
tests / ci (8.4) (push) Failing after 6s
tests / ci (8.5) (push) Failing after 5s
Added configuration panel datasets, back-end refactor and others
2026-03-12 16:38:50 +01:00

29 lines
554 B
PHP

<?php
namespace App\Providers;
use App\Services\ISynapticWeightsProvider;
use App\Services\RandomSynapticWeights;
use Illuminate\Support\ServiceProvider;
class InitialSynapticWeightsProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
$this->app->singleton(ISynapticWeightsProvider::class, function ($app) {
return new RandomSynapticWeights();
});
}
/**
* Bootstrap services.
*/
public function boot(): void
{
//
}
}