File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -108,4 +108,19 @@ public function createContainer(array $configFiles = null)
108
108
109
109
return $ this ->container ;
110
110
}
111
+
112
+ /**
113
+ * @param string $service
114
+ *
115
+ * @return object
116
+ */
117
+ public function grabService ($ service )
118
+ {
119
+ try {
120
+ return call_user_func ($ this ->containerAccessor )->getByType ($ service );
121
+ } catch (MissingServiceException $ e ) {
122
+ $ this ->fail ($ e ->getMessage ());
123
+ }
124
+ }
125
+
111
126
}
Original file line number Diff line number Diff line change @@ -89,20 +89,6 @@ public function _after(TestInterface $test)
89
89
$ _COOKIE = [];
90
90
}
91
91
92
- /**
93
- * @param string $service
94
- *
95
- * @return object
96
- */
97
- public function grabService ($ service )
98
- {
99
- try {
100
- return call_user_func ($ this ->containerAccessor )->getByType ($ service );
101
- } catch (MissingServiceException $ e ) {
102
- $ this ->fail ($ e ->getMessage ());
103
- }
104
- }
105
-
106
92
public function seeRedirectTo ($ url )
107
93
{
108
94
if ($ this ->config ['followRedirects ' ]) {
You can’t perform that action at this time.
0 commit comments