public function Kernel::getEnvironment

Gets the environment.

@api

Return value

string The current environment

Overrides KernelInterface::getEnvironment

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 371

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function getEnvironment() {
  return $this->environment;
}