This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/custom-service-listener' of https://github.com/…
- Loading branch information
Showing
2 changed files
with
63 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_ModuleManager | ||
*/ | ||
|
||
namespace Zend\ModuleManager\Listener; | ||
|
||
/** | ||
* @category Zend | ||
* @package Zend_ModuleManager | ||
* @subpackage Listener | ||
*/ | ||
interface ServiceListenerInterface | ||
{ | ||
/** | ||
* @param ServiceManager|string $serviceManager Service Manager instance or name | ||
* @param string $key Configuration key | ||
* @param string $moduleInterface FQCN as string | ||
* @param string $method Method name | ||
* @return ServiceListenerInterface | ||
*/ | ||
public function addServiceManager($serviceManager, $key, $moduleInterface, $method); | ||
|
||
/** | ||
* @param array $configuration | ||
* @return ServiceListenerInterface | ||
*/ | ||
public function setDefaultServiceConfig($configuration); | ||
} |