-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the original zf2 and the bc classes is the same. add deprecated doc for ide to old zf2 classes
- Loading branch information
1 parent
25db351
commit a41ec21
Showing
5 changed files
with
56 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
<?php | ||
|
||
/** | ||
* | ||
* Fork from Zend framework 2.5.* | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @copyright MNHcC (Michael Hegenbarth) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace Zend\ServiceManager { | ||
namespace Zend\ServiceManager; | ||
|
||
use MNHcC\Zend3bcHelper; | ||
|
||
if (class_exists(Zend3bcHelper\ServiceManager\ServiceLocatorAwareInterface::class)) { | ||
class_alias(Zend3bcHelper\ServiceManager\ServiceLocatorAwareInterface::class, ServiceLocatorAwareInterface::class); | ||
} else { | ||
|
||
use MNHcC\Zend3bcHelper\Basic\Zend3bcHelperInterface; | ||
/** | ||
* Fork from Zend framework 2.5.* for the Zend3bcHelper | ||
* alias for the original zend framework 2.5 ServiceLocatorAwareInterface | ||
* {@inheritdoc} | ||
* @deprecated since zend framework 2.7|3.* | ||
*/ | ||
interface ServiceLocatorAwareInterface extends Zend3bcHelperInterface { | ||
interface ServiceLocatorAwareInterface extends Zend3bcHelper\ServiceManager\ServiceLocatorAwareInterface { | ||
|
||
} | ||
|
||
/** | ||
* Set service locator | ||
* | ||
* @param ServiceLocatorInterface $serviceLocator | ||
*/ | ||
public function setServiceLocator(ServiceLocatorInterface $serviceLocator); | ||
} | ||
|
||
|
||
|
||
/** | ||
* Get service locator | ||
* | ||
* @return ServiceLocatorInterface | ||
*/ | ||
public function getServiceLocator(); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,27 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* fork from Zend framework 2.5.* | ||
* Fork from Zend framework 2.5.* | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace Zend\ServiceManager { | ||
namespace Zend\ServiceManager; | ||
|
||
use MNHcC\Zend3bcHelper; | ||
|
||
if (class_exists(Zend3bcHelper\ServiceManager\ServiceManagerAwareInterface::class)) { | ||
class_alias(Zend3bcHelper\ServiceManager\ServiceManagerAwareInterface::class, ServiceManagerAwareInterface::class); | ||
} else { | ||
|
||
/** | ||
* Fork from Zend framework 2.5.* for the Zend3bcHelper | ||
* alias for the original zend framework 2.5 ServiceManagerAwareInterface | ||
* {@inheritdoc} | ||
* @deprecated since zend framework 2.7|3.* | ||
*/ | ||
interface ServiceManagerAwareInterface extends Zend3bcHelperInterface { | ||
interface ServiceManagerAwareInterface extends Zend3bcHelper\ServiceManager\ServiceManagerAwareInterface { | ||
|
||
/** | ||
* Set service manager | ||
* | ||
* @param ServiceManager $serviceManager | ||
*/ | ||
public function setServiceManager(ServiceManager $serviceManager); | ||
} | ||
|
||
} |
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