PHP Class Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerExtension

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DependencyInjection\Extension
显示文件 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
getNamespace ( ) : string Returns the namespace to be used for this extension (XML namespace).
getXsdValidationBasePath ( ) : string Returns the base path for the XSD files.
load ( array $configs, ContainerBuilder $container ) Loads the Swift Mailer configuration.

Method Details

getNamespace() public method

Returns the namespace to be used for this extension (XML namespace).
public getNamespace ( ) : string
return string The XML namespace

getXsdValidationBasePath() public method

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
return string The XSD base path

load() public method

Usage example: fabien xxxxx
public load ( array $configs, ContainerBuilder $container )
$configs array An array of configuration settings
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance