PHP 클래스 Elcodi\Plugin\CustomShippingBundle\DependencyInjection\ElcodiCustomShippingExtension

상속: extends Elcodi\Bundle\CoreBundle\DependencyInjection\Abstracts\AbstractExtension, implements Elcodi\Bundle\CoreBundle\DependencyInjection\Interfaces\EntitiesOverridableExtensionInterface
파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
getAlias ( ) : string Returns the extension alias, same value as extension name
getConfigFiles ( array $config ) : array Config files to load
getConfigFilesLocation ( ) : string Get the Config file location
getEntitiesOverrides ( ) : array Get entities overrides.

보호된 메소드들

메소드 설명
getConfigurationInstance ( ) : Symfony\Component\Config\Definition\ConfigurationInterface Return a new Configuration instance.
getParametrizationValues ( array $config ) : array Load Parametrization definition

메소드 상세

getAlias() 공개 메소드

Returns the extension alias, same value as extension name
public getAlias ( ) : string
리턴 string The alias

getConfigFiles() 공개 메소드

return array( 'file1.yml', 'file2.yml', ... );
public getConfigFiles ( array $config ) : array
$config array Config
리턴 array Config files

getConfigFilesLocation() 공개 메소드

Get the Config file location
public getConfigFilesLocation ( ) : string
리턴 string Config file location

getConfigurationInstance() 보호된 메소드

If object returned by this method is an instance of ConfigurationInterface, extension will use the Configuration to read all bundle config definitions. Also will call getParametrizationValues method to load some config values to internal parameters.
protected getConfigurationInstance ( ) : Symfony\Component\Config\Definition\ConfigurationInterface
리턴 Symfony\Component\Config\Definition\ConfigurationInterface Configuration file

getEntitiesOverrides() 공개 메소드

Result must be an array with: index: Original Interface value: Parameter where class is defined.
public getEntitiesOverrides ( ) : array
리턴 array Overrides definition

getParametrizationValues() 보호된 메소드

return array( 'parameter1' => $config['parameter1'], 'parameter2' => $config['parameter2'], ... );
protected getParametrizationValues ( array $config ) : array
$config array Bundles config values
리턴 array Parametrization values