8000 made some private protected as many users needs to override the defau… · symfony/symfony@56a4ab7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56a4ab7

Browse files
committed
made some private protected as many users needs to override the default implementation anyway (closes #3942)
1 parent 2786f21 commit 56a4ab7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/HttpKernel.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
*/
2929
class HttpKernel extends BaseHttpKernel
3030
{
31-
private $container;
31+
protected $container;
32+
3233
private $esiSupport;
3334

3435
public function __construct(EventDispatcherInterface $dispatcher, ContainerInterface $container, ControllerResolverInterface $controllerResolver)
@@ -230,4 +231,9 @@ public function renderHIncludeTag($uri, $defaultContent = null)
230231
{
231232
return sprintf('<hx:include src="%s">%s</hx:include>', $uri, $defaultContent);
232233
}
234+
235+
public function hasEsiSupport()
236+
{
237+
return $this->esiSupport;
238+
}
233239
}

src/Symfony/Component/HttpKernel/HttpKernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
*/
3333
class HttpKernel implements HttpKernelInterface, TerminableInterface
3434
{
35-
private $dispatcher;
36-
private $resolver;
35+
protected $dispatcher;
36+
protected $resolver;
3737

3838
/**
3939
* Constructor

0 commit comments

Comments
 (0)
0