-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from SocalNick/deprecated-service-manager-awa…
…re-interface Deprecated service manager aware interface
- Loading branch information
Showing
8 changed files
with
68 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/ScnSocialAuth/Service/ProviderControllerPluginFactory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* ScnSocialAuth Module | ||
* | ||
* @category ScnSocialAuth | ||
* @package ScnSocialAuth_Service | ||
*/ | ||
|
||
namespace ScnSocialAuth\Service; | ||
|
||
use ScnSocialAuth\Controller\Plugin\ScnSocialAuthProvider; | ||
use Zend\ServiceManager\FactoryInterface; | ||
use Zend\ServiceManager\ServiceLocatorInterface; | ||
|
||
/** | ||
* @category ScnSocialAuth | ||
* @package ScnSocialAuth_Service | ||
*/ | ||
class ProviderControllerPluginFactory implements FactoryInterface | ||
{ | ||
public function createService(ServiceLocatorInterface $serviceManager) | ||
{ | ||
$mapper = $serviceManager->getServiceLocator()->get('ScnSocialAuth-UserProviderMapper'); | ||
|
||
$controllerPlugin = new ScnSocialAuthProvider(); | ||
$controllerPlugin->setMapper($mapper); | ||
|
||
return $controllerPlugin; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters