protected function Kernel::getKernelParameters

Returns the kernel parameters.

Return value

array An array of kernel parameters

2 calls to Kernel::getKernelParameters()
DrupalKernel::getContainerBuilder in drupal/core/lib/Drupal/Core/DrupalKernel.php
Gets a new ContainerBuilder instance used to build the service container.
Kernel::getContainerBuilder in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Gets a new ContainerBuilder instance used to build the service container.

File

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

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

protected function getKernelParameters() {
  $bundles = array();
  foreach ($this->bundles as $name => $bundle) {
    $bundles[$name] = get_class($bundle);
  }
  return array_merge(array(
    'kernel.root_dir' => $this->rootDir,
    'kernel.environment' => $this->environment,
    'kernel.debug' => $this->debug,
    'kernel.name' => $this->name,
    'kernel.cache_dir' => $this
      ->getCacheDir(),
    'kernel.logs_dir' => $this
      ->getLogDir(),
    'kernel.bundles' => $bundles,
    'kernel.charset' => $this
      ->getCharset(),
    'kernel.container_class' => $this
      ->getContainerClass(),
  ), $this
    ->getEnvParameters());
}