forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDi.php
143 lines (118 loc) · 3.17 KB
/
Di.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?php
namespace Phalcon\Test\Proxy;
use Phalcon\Di as PhDi;
use Phalcon\DiInterface;
use Phalcon\Di\ServiceInterface;
use Phalcon\Events\ManagerInterface;
/**
* \Phalcon\Test\Proxy\Di
* Escaper proxy class for \Phalcon\Di
*
* @copyright (c) 2011-2016 Phalcon Team
* @link http://www.phalconphp.com
* @author Andres Gutierrez <andres@phalconphp.com>
* @author Serghei Iakovlev <serghei@phalconphp.com>
* @package Phalcon\Test\Proxy
*
* The contents of this file are subject to the New BSD License that is
* bundled with this package in the file docs/LICENSE.txt
*
* If you did not receive a copy of the license and are unable to obtain it
* through the world-wide-web, please send an email to license@phalconphp.com
* so that we can send you a copy immediately.
*/
class Di extends PhDi
{
public function __construct()
{
parent::__construct();
}
public function setInternalEventsManager(ManagerInterface $eventsManager)
{
parent::setInternalEventsManager($eventsManager);
}
public function getInternalEventsManager()
{
return parent::getInternalEventsManager();
}
public function set($name, $definition, $shared = false)
{
return parent::set($name, $definition, $shared);
}
public function setShared($name, $definition)
{
return parent::setShared($name, $definition);
}
public function remove($name)
{
parent::remove($name);
}
public function attempt($name, $definition, $shared = false)
{
return parent::attempt($name, $definition, $shared);
}
public function setRaw($name, ServiceInterface $rawDefinition)
{
return parent::setRaw($name, $rawDefinition);
}
public function getRaw($name)
{
return parent::getRaw($name);
}
public function getService($name)
{
return parent::getService($name);
}
public function get($name, $parameters = null)
{
return parent::get($name, $parameters);
}
public function getShared($name, $parameters = null)
{
return parent::getShared($name, $parameters);
}
public function has($name)
{
return parent::has($name);
}
public function wasFreshInstance()
{
return parent::wasFreshInstance();
}
public function getServices()
{
return parent::getServices();
}
public function offsetExists($name)
{
return parent::offsetExists($name);
}
public function offsetSet($name, $definition)
{
return parent::offsetSet($name, $definition);
}
public function offsetGet($name)
{
return parent::offsetGet($name);
}
public function offsetUnset($name)
{
return parent::offsetUnset($name);
}
public function __call($method, $arguments = null)
{
return parent::__call($method, $arguments);
}
public static function setDefault(DiInterface $dependencyInjector)
{
parent::setDefault($dependencyInjector);
}
public static function getDefault()
{
return parent::getDefault();
}
public static function reset()
{
parent::reset();
}
}