Commit 404e74e1 authored by Crell's avatar Crell Committed by effulgentsia

Make the new HtmlPageController Container-aware.

parent b9d56899
......@@ -4,9 +4,21 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
class HtmlPageController implements ContainerAwareInterface {
class HtmlPageController {
/**
* The injection container for this object.
*
* @var ContainerInterface
*/
protected $container;
public function setContainer(ContainerInterface $container = NULL) {
$this->container = $container;
}
public function content(Request $request, $_content) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment