diff --git a/developer_manual/app/controllers.rst b/developer_manual/app/controllers.rst index e000c9d07..5dbc73a83 100644 --- a/developer_manual/app/controllers.rst +++ b/developer_manual/app/controllers.rst @@ -542,7 +542,7 @@ Creating a custom XMLResponse class could look like this: private $xml; - public function construct(array $xml) { + public function __construct(array $xml) { $this->addHeader('Content-Type', 'application/xml'); $this->xml = $xml; }