Skip to content

Commit

Permalink
made some private protected as many users needs to override the defau…
Browse files Browse the repository at this point in the history
…lt implementation anyway (closes #3942)
  • Loading branch information
fabpot committed Apr 20, 2012
1 parent 2786f21 commit 56a4ab7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
*/
class HttpKernel extends BaseHttpKernel
{
private $container;
protected $container;

private $esiSupport;

public function __construct(EventDispatcherInterface $dispatcher, ContainerInterface $container, ControllerResolverInterface $controllerResolver)
Expand Down Expand Up @@ -230,4 +231,9 @@ public function renderHIncludeTag($uri, $defaultContent = null)
{
return sprintf('<hx:include src="%s">%s</hx:include>', $uri, $defaultContent);
}

public function hasEsiSupport()
{
return $this->esiSupport;
}
}
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpKernel/HttpKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
*/
class HttpKernel implements HttpKernelInterface, TerminableInterface
{
private $dispatcher;
private $resolver;
protected $dispatcher;
protected $resolver;

/**
* Constructor
Expand Down

0 comments on commit 56a4ab7

Please sign in to comment.