public DrupalKernel::__construct($environment, $class_loader, $allow_dumping = TRUE, $app_root = NULL)
Constructs a DrupalKernel object.
Parameters
string $environment: String indicating the environment, e.g. 'prod' or 'dev'.
$class_loader: The class loader. Normally \Composer\Autoload\ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader.
bool $allow_dumping: (optional) FALSE to stop the container from being written to