8000 [FrameworkBundle] remove deprecated method 'createEsi' by FlorianLB · Pull Request #12663 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
10BC0
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions UPGRADE-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ UPGRADE FROM 2.x to 3.0

* The `RouterApacheDumperCommand` was removed.

* The `createEsi` method of `Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache` was removed. Use `createSurrogate` instead.

### HttpKernel

* The `Symfony\Component\HttpKernel\Log\LoggerInterface` has been removed in
Expand Down
12 changes: 0 additions & 12 deletions src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ protected function getOptions()
}

protected function createSurrogate()
{
return $this->createEsi();
}

/**
* Creates new ESI instance
*
* @return Esi
*
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use createSurrogate() instead
*/
protected function createEsi()
{
return new Esi();
}
Expand Down
0