Methods Summary | ||
---|---|---|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
protected
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
loadClassCache( string $name = 'classes', string $extension = '.php' )
Loads the PHP class cache.
This methods only registers the fact that you want to load the cache classes.
The cache will actually only be loaded when the Kernel is booted.
That optimization is mainly useful when using the HttpCache class in which
case the class cache is not loaded if the Response is in the cache.
Deprecated |
|
public
|
||
public
|
||
public
|
||
public
|
||
protected
|
||
protected
|
#
initializeBundles( )
Initializes the data structures related to the bundle management.
- the bundles property maps a bundle name to the bundle instance,
- the bundleMap property maps a bundle name to the bundle inheritance hierarchy (most derived bundle first).
|
|
protected
|
||
protected
|
||
protected
|
#
getContainerBaseClass( )
Gets the container's base class.
All names except Container must be fully qualified.
|
|
protected
|
#
initializeContainer( )
Initializes the service container.
The cached version of the service container is used when fresh, otherwise the
container is built.
|
|
protected
|
||
protected
|
#
getEnvParameters( )
Gets the environment parameters.
Only the parameters starting with "SYMFONY__" are considered.
Deprecated |
|
protected
|
||
protected
|
#
prepareContainer( Symfony\Component\DependencyInjection\ContainerBuilder $container )
Prepares the ContainerBuilder before it is compiled.
|
|
protected
|
||
protected
|
#
dumpContainer( Symfony\Component\Config\ConfigCache $cache , Symfony\Component\DependencyInjection\ContainerBuilder $container , string $class , string $baseClass )
Dumps the service container to PHP code in the cache.
|
|
protected
|
#
getContainerLoader( Symfony\Component\DependencyInjection\ContainerInterface $container )
Returns a loader for the container.
|
|
public static
|
#
stripComments( string $source )
Removes comments from a PHP source string.
We don't use the PHP php_strip_whitespace() function
as we want the content to be readable and well-formatted.
|
|
public
|
||
public
|
Constants Summary | ||
---|---|---|
public
string
|
VERSION
|
#
'3.3.8'
|
public
int
|
VERSION_ID
|
#
30308
|
public
int
|
MAJOR_VERSION
|
#
3
|
public
int
|
MINOR_VERSION
|
#
3
|
public
int
|
RELEASE_VERSION
|
#
8
|
public
string
|
EXTRA_VERSION
|
#
''
|
public
string
|
END_OF_MAINTENANCE
|
#
'01/2018'
|
public
string
|
END_OF_LIFE
|
#
'07/2018'
|
Properties Summary | ||
---|---|---|
protected
\Symfony\Component\HttpKernel\Bundle\BundleInterface[]
|
$bundles
|
#
array (
)
|
protected
|
$bundleMap
|
#
NULL
|
protected
|
$container
|
#
NULL
|
protected
|
$rootDir
|
#
NULL
|
protected
|
$environment
|
#
NULL
|
protected
|
$debug
|
#
NULL
|
protected
|
$booted
|
#
false
|
protected
|
$name
|
#
NULL
|
protected
|
$startTime
|
#
NULL
|
protected
|
$loadClassCache
|
#
NULL
|