diff --git a/core/lib/Drupal/Core/AppRootFactory.php b/core/lib/Drupal/Core/AppRootFactory.php deleted file mode 100644 index 892492380e..0000000000 --- a/core/lib/Drupal/Core/AppRootFactory.php +++ /dev/null @@ -1,37 +0,0 @@ -drupalKernel = $drupal_kernel; - } - - /** - * Gets the app root. - * - * @return string - * The app root. - */ - public function get() { - return $this->drupalKernel->getContainer()->getParameter('app.root'); - } - -} diff --git a/core/lib/Drupal/Core/SitePathFactory.php b/core/lib/Drupal/Core/SitePathFactory.php deleted file mode 100644 index e83daf25a0..0000000000 --- a/core/lib/Drupal/Core/SitePathFactory.php +++ /dev/null @@ -1,37 +0,0 @@ -drupalKernel = $drupal_kernel; - } - - /** - * Gets the site path. - * - * @return string - * The site path. - */ - public function get() { - return $this->drupalKernel->getContainer()->getParameter('site.path'); - } - -}