This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/zendframework/zf2 into zf11884
- Loading branch information
Richard Kellner
committed
Nov 19, 2011
32 parents
d45c674
+
10e96e0
+
da5d5ef
+
05526b7
+
56278de
+
ae00fd6
+
b8d20ea
+
4fb9db5
+
3915c88
+
0928d39
+
6186985
+
26666c9
+
c993e85
+
4e037a4
+
965637a
+
64de913
+
b400e6b
+
526722c
+
f7defb5
+
1f1e802
+
aba79e7
+
954d53b
+
a91f023
+
d06db6c
+
e87681c
+
1ca0c28
+
e6d7081
+
82e6165
+
fab8e06
+
08acc4a
+
b452ee7
+
2ab789f
commit df0d05e
Showing
5 changed files
with
101 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Zend\Loader; | ||
|
||
use Zend\Di\Locator; | ||
|
||
interface LocatorAware | ||
{ | ||
public function setLocator(Locator $locator); | ||
public function getLocator(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace ZendTest\Loader\TestAsset; | ||
|
||
use Zend\Di\Locator; | ||
|
||
class ServiceLocator implements Locator | ||
{ | ||
protected $services = array(); | ||
|
||
public function get($name, array $params = array()) | ||
{ | ||
if (!isset($this->services[$name])) { | ||
return null; | ||
} | ||
|
||
return $this->services[$name]; | ||
} | ||
|
||
public function set($name, $object) | ||
{ | ||
$this->services[$name] = $object; | ||
} | ||
} |