You are here

public function Kernel::getEnvironment in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Kernel.php \Symfony\Component\HttpKernel\Kernel::getEnvironment()

Gets the environment.

Return value

string The current environment

Overrides KernelInterface::getEnvironment

File

vendor/symfony/http-kernel/Kernel.php, line 313

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

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