PHP 클래스 Symfony\Component\HttpKernel\Bundle\Bundle

상속: extends Symfony\Component\DependencyInjection\ContainerAware, implements Symfony\Component\HttpKernel\Bundle\BundleInterface
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$extension
$name
$path

공개 메소드들

메소드 설명
boot ( ) Boots the Bundle.
build ( ContainerBuilder $container ) Builds the bundle.
getContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null Returns the bundle's container extension.
getName ( ) : string Returns the bundle name (the class short name).
getNamespace ( ) : string Gets the Bundle namespace.
getParent ( ) : string Returns the bundle parent name.
getPath ( ) : string Gets the Bundle directory path.
registerCommands ( Application $application ) Finds and registers Commands.
shutdown ( ) Shutdowns the Bundle.

보호된 메소드들

메소드 설명
createContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null Creates the bundle's container extension.
getContainerExtensionClass ( ) : string Returns the bundle's container extension class.

비공개 메소드들

메소드 설명
parseClassName ( )

메소드 상세

boot() 공개 메소드

Boots the Bundle.
public boot ( )

build() 공개 메소드

It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ...
public build ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance

createContainerExtension() 보호된 메소드

Creates the bundle's container extension.
protected createContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null
리턴 Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null

getContainerExtension() 공개 메소드

Returns the bundle's container extension.
public getContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null
리턴 Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null The container extension

getContainerExtensionClass() 보호된 메소드

Returns the bundle's container extension class.
protected getContainerExtensionClass ( ) : string
리턴 string

getName() 최종 공개 메소드

Returns the bundle name (the class short name).
final public getName ( ) : string
리턴 string The Bundle name

getNamespace() 공개 메소드

Gets the Bundle namespace.
public getNamespace ( ) : string
리턴 string The Bundle namespace

getParent() 공개 메소드

Returns the bundle parent name.
public getParent ( ) : string
리턴 string The Bundle parent name it overrides or null if no parent

getPath() 공개 메소드

Gets the Bundle directory path.
public getPath ( ) : string
리턴 string The Bundle absolute path

registerCommands() 공개 메소드

Override this method if your bundle commands do not follow the conventions: * Commands are in the 'Command' sub-directory * Commands extend Symfony\Component\Console\Command\Command
public registerCommands ( Application $application )
$application Symfony\Component\Console\Application An Application instance

shutdown() 공개 메소드

Shutdowns the Bundle.
public shutdown ( )

프로퍼티 상세

$extension 보호되어 있는 프로퍼티

protected $extension

$name 보호되어 있는 프로퍼티

protected $name

$path 보호되어 있는 프로퍼티

protected $path