diff --git a/core/lib/Drupal/Core/DrupalApp.php b/core/lib/Drupal/Core/DrupalApp.php
index 74144a8b5a5eefa3f703b2ac379056dfa690e3f0..338e45f8fd3a53a9c8db43dfaa4fd91591ba5560 100644
--- a/core/lib/Drupal/Core/DrupalApp.php
+++ b/core/lib/Drupal/Core/DrupalApp.php
@@ -29,7 +29,7 @@
 /**
  * The DrupalApp class is the core of Drupal itself.
  */
-class DrupalApp {
+class DrupalApp implements HttpKernelInterface {
 
   /**
    *
@@ -38,7 +38,7 @@ class DrupalApp {
    * @return Response
    *   The response object to return to the requesting user agent.
    */
-  function execute(Request $request) {
+  function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true) {
     try {
 
       $dispatcher = $this->getDispatcher();
diff --git a/index.php b/index.php
index a287833c9ceae218101c74db475e5910e48d78e9..ad45a32188c3de7600a54e249959f0ff3ae30f5a 100644
--- a/index.php
+++ b/index.php
@@ -27,4 +27,4 @@
 $request = Request::createFromGlobals();
 
 $kernel = new DrupalApp();
-$kernel->execute($request)->send();
+$kernel->handle($request)->send();