Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
added singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnetters committed Mar 22, 2017
1 parent 17d5a11 commit 26379bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PeopleModuleServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php namespace Wirelab\PeopleModule;

use Anomaly\Streams\Platform\Addon\AddonServiceProvider;
use Wirelab\PeopleModule\Person\Contract\PersonRepositoryInterface;
use Wirelab\PeopleModule\Person\PersonRepository;

class PeopleModuleServiceProvider extends AddonServiceProvider
{
Expand All @@ -23,4 +25,7 @@ class PeopleModuleServiceProvider extends AddonServiceProvider
'Anomaly\Streams\Platform\Model\People\PeoplePeopleEntryModel' => 'Wirelab\PeopleModule\Person\PersonModel',
];

protected $singletons = [
PersonRepositoryInterface::class => PersonRepository::class,
];
}

0 comments on commit 26379bf

Please sign in to comment.