Configuration

class Configuration implements ConfigurationInterface TwigExtension configuration structure. Methods TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Details TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Return Value TreeBuilder The tree builder

Configuration

class Configuration implements ConfigurationInterface This class contains the configuration information for the bundle. This information is solely responsible for how the different configuration sections are normalized, and merged. Methods TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Details TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Return Value TreeBuilder The tree builder

ConfigurableRequirementsInterface::setStrictRequirements()

setStrictRequirements(bool|null $enabled) Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely. Parameters bool|null $enabled

Configuration

class Configuration implements ConfigurationInterface FrameworkExtension configuration structure. Methods __construct(bool $debug) TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Details __construct(bool $debug) Parameters bool $debug Whether debugging is enabled or not TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Return Value TreeBui

ConfigurableRequirementsInterface

interface ConfigurableRequirementsInterface ConfigurableRequirementsInterface must be implemented by URL generators that can be configured whether an exception should be generated when the parameters do not match the requirements. It is also possible to disable the requirements check for URL generation completely. The possible configurations and use-cases: - setStrictRequirements(true): Throw an exception for mismatching requirements. This is mostly useful in development environment. - setSt

ConfigurableRequirementsInterface::isStrictRequirements()

bool|null isStrictRequirements() Returns whether to throw an exception on incorrect parameters. Null means the requirements check is deactivated completely. Return Value bool|null

ConfigurableExtension

class ConfigurableExtension extends Extension This extension sub-class provides first-class integration with the Config/Definition Component. You can use this as base class if a) you use the Config/Definition component for configuration, b) your configuration class is named "Configuration", and c) the configuration class resides in the DependencyInjection sub-folder. Methods string getXsdValidationBasePath() Returns the base path for the XSD files. from Extension string getNamespace(

ConfigDumpReferenceCommand

class ConfigDumpReferenceCommand extends AbstractConfigCommand A console command for dumping available configuration reference. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the

ConfigDebugCommand

class ConfigDebugCommand extends AbstractConfigCommand A console command for dumping available configuration reference. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper

ConfigDataCollector::setKernel()

setKernel(KernelInterface $kernel = null) Sets the Kernel associated with this Request. Parameters KernelInterface $kernel A KernelInterface instance