Update the_controller.rst

$this->request->getSession(); produces an error. $request->getSession() works correctly