PHP Interface Contao\CoreBundle\Framework\ContaoFrameworkInterface

Inheritance: extends Contao\CoreBundle\ContaoFrameworkInterface
Exibir arquivo Open project: contao/core-bundle Interface Usage Examples

Public Methods

Method Description
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.

Method Details

createInstance() public method

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

getAdapter() public method

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

initialize() public method

Initializes the framework.
public initialize ( )

isInitialized() public method

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