File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/Bridge/Symfony/Bundle/Test Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 14
14
namespace ApiPlatform \Core \Bridge \Symfony \Bundle \Test ;
15
15
16
16
use Symfony \Bundle \FrameworkBundle \KernelBrowser ;
17
+ use Symfony \Component \BrowserKit \CookieJar ;
17
18
use Symfony \Component \DependencyInjection \ContainerInterface ;
18
19
use Symfony \Component \HttpClient \HttpClientTrait ;
19
20
use Symfony \Component \HttpKernel \KernelInterface ;
@@ -167,6 +168,14 @@ public function getContainer(): ?ContainerInterface
167
168
return $ this ->kernelBrowser ->getContainer ();
168
169
}
169
170
171
+ /**
172
+ * Returns the CookieJar instance.
173
+ */
174
+ public function getCookieJar (): CookieJar
175
+ {
176
+ return $ this ->kernelBrowser ->getCookieJar ();
177
+ }
178
+
170
179
/**
171
180
* Returns the kernel.
172
181
*/
You can’t perform that action at this time.
0 commit comments