Drupal 8  8.0.2
TestRunnerKernel Class Reference
Inheritance diagram for TestRunnerKernel:

Public Member Functions

 __construct ($environment, $class_loader)
 
 boot ()
 
 discoverServiceProviders ()
 
- Public Member Functions inherited from DrupalKernel
 __construct ($environment, $class_loader, $allow_dumping=TRUE)
 
 setSitePath ($path)
 
 getSitePath ()
 
 getAppRoot ()
 
 boot ()
 
 shutdown ()
 
 getContainer ()
 
 setContainer (ContainerInterface $container=NULL)
 
 getCachedContainerDefinition ()
 
 loadLegacyIncludes ()
 
 preHandle (Request $request)
 
 discoverServiceProviders ()
 
 getServiceProviders ($origin)
 
 terminate (Request $request, Response $response)
 
 handle (Request $request, $type=self::MASTER_REQUEST, $catch=TRUE)
 
 prepareLegacyRequest (Request $request)
 
 updateModules (array $module_list, array $module_filenames=array())
 
 rebuildContainer ()
 
 invalidateContainer ()
 

Static Public Member Functions

static createFromRequest (Request $request, $class_loader, $environment= 'test_runner', $allow_dumping=TRUE)
 
- Static Public Member Functions inherited from DrupalKernel
static createFromRequest (Request $request, $class_loader, $environment, $allow_dumping=TRUE)
 
static findSitePath (Request $request, $require_settings=TRUE)
 
static bootEnvironment ()
 
static validateHostname (Request $request)
 

Additional Inherited Members

- Protected Member Functions inherited from DrupalKernel
 handleException (\Exception $e, $request, $type)
 
 moduleData ($module)
 
 getContainerCacheKey ()
 
 getKernelParameters ()
 
 initializeContainer ()
 
 initializeSettings (Request $request)
 
 initializeRequestGlobals (Request $request)
 
 getServicesToPersist (ContainerInterface $container)
 
 persistServices (ContainerInterface $container, array $persist)
 
 attachSynthetic (ContainerInterface $container)
 
 initializeServiceProviders ()
 
 getContainerBuilder ()
 
 cacheDrupalContainer (array $container_definition)
 
 getHttpKernel ()
 
 getConfigStorage ()
 
 getModulesParameter ()
 
 getModuleFileNames ()
 
 getModuleNamespacesPsr4 ($module_file_names)
 
 classLoaderAddMultiplePsr4 (array $namespaces=array())
 
 addServiceFiles (array $service_yamls)
 
- Static Protected Member Functions inherited from DrupalKernel
static validateHostnameLength ($host)
 
static setupTrustedHosts (Request $request, $host_patterns)
 
- Protected Attributes inherited from DrupalKernel
 $phpArrayDumperClass = '\Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper'
 
 $defaultBootstrapContainerDefinition
 
 $bootstrapContainerClass = '\Drupal\Component\DependencyInjection\PhpArrayContainer'
 
 $bootstrapContainer
 
 $container
 
 $environment
 
 $booted = FALSE
 
 $prepared = FALSE
 
 $moduleList
 
 $moduleData = array()
 
 $classLoader
 
 $configStorage
 
 $allowDumping
 
 $containerNeedsRebuild = FALSE
 
 $containerNeedsDumping
 
 $serviceYamls
 
 $serviceProviderClasses
 
 $serviceProviders
 
 $sitePath
 
 $root
 
- Static Protected Attributes inherited from DrupalKernel
static $isEnvironmentInitialized = FALSE
 

Detailed Description

Kernel for run-tests.sh.

Constructor & Destructor Documentation

__construct (   $environment,
  $class_loader 
)

{}

References DrupalKernel\moduleData(), and Drupal\root().

Here is the call graph for this function:

Member Function Documentation

boot ( )

{Boots the current kernel.

Returns
$this
}

Implements DrupalKernelInterface.

References Settings\getAll(), and DrupalKernel\getContainer().

Here is the call graph for this function:

static createFromRequest ( Request  $request,
  $class_loader,
  $environment = 'test_runner',
  $allow_dumping = TRUE 
)
static

{}

Referenced by BrowserTestBase\prepareEnvironment().

Here is the caller graph for this function:

discoverServiceProviders ( )

{Discovers available serviceProviders.

Returns
array The available serviceProviders.
}

Implements DrupalKernelInterface.


The documentation for this class was generated from the following file: