add element persistence
This commit is contained in:
parent
aaab0e5379
commit
fcc6ade8f3
7 changed files with 289 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ use App\Email\Emailer;
|
|||
use App\Email\EmailFactory;
|
||||
use App\Email\LaravelEmailer;
|
||||
use App\Email\LaravelEmailFactory;
|
||||
use App\Element\ElementRepository;
|
||||
use App\Element\EloquentElementRepository;
|
||||
use App\Set\EloquentSetRepository;
|
||||
use App\Set\SetRepository;
|
||||
use App\User\EloquentUserRepository;
|
||||
|
|
@ -51,6 +53,10 @@ class AppServiceProvider extends ServiceProvider
|
|||
SetRepository::class,
|
||||
EloquentSetRepository::class,
|
||||
);
|
||||
$this->app->bind(
|
||||
ElementRepository::class,
|
||||
EloquentElementRepository::class,
|
||||
);
|
||||
$this->app->bind(PasswordHasher::class, BcryptPasswordHasher::class);
|
||||
$this->app->bind(TokenGenerator::class, RandomTokenGenerator::class);
|
||||
$this->app->bind(Clock::class, SystemClock::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue