PHP 인터페이스 Contao\CoreBundle\Framework\ContaoFrameworkInterface

상속: extends Contao\CoreBundle\ContaoFrameworkInterface
파일 보기 프로젝트 열기: contao/core-bundle 0 사용 예제들

공개 메소드들

메소드 설명
createInstance ( string $class, array $args = [] ) : object Creates a new instance of a given class.
getAdapter ( string $class ) : Adapter Returns an adapter class for a given class.
initialize ( ) Initializes the framework.
isInitialized ( ) : boolean Checks if the framework has been initialized.

메소드 상세

createInstance() 공개 메소드

Creates a new instance of a given class.
public createInstance ( string $class, array $args = [] ) : object
$class string
$args array
리턴 object

getAdapter() 공개 메소드

Returns an adapter class for a given class.
public getAdapter ( string $class ) : Adapter
$class string
리턴 Adapter

initialize() 공개 메소드

Initializes the framework.
public initialize ( )

isInitialized() 공개 메소드

Checks if the framework has been initialized.
public isInitialized ( ) : boolean
리턴 boolean