PHP Class Kraken\Core\Core

Inheritance: extends Kraken\Container\Container, implements Kraken\Core\CoreInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Protected Properties

Свойство Type Description
$bootConfig string[][]
$dataPath string
$serviceRegister Kraken\Container\ServiceRegister

Méthodes publiques

Méthode Description
__construct ( string | null $dataPath = null )
__destruct ( )
boot ( )
config ( $config = null )
flushAliases ( )
flushProviders ( )
getAlias ( $alias )
getAliases ( )
getBasePath ( )
getDataDir ( )
getDataPath ( )
getDefaultAliases ( ) : string[] Return list of default Aliases.
getDefaultProviders ( ) : string[] Return list of default Providers.
getProvider ( $provider )
getProviders ( )
getServices ( )
getType ( )
getVersion ( )
registerAlias ( $alias, $interface )
registerAliases ( $interfaces )
registerProvider ( $provider )
registerProviders ( $providers )
unregisterAlias ( $alias )
unregisterProvider ( $provider )

Méthodes protégées

Méthode Description
bootProviders ( ) Boot providers.

Method Details

__construct() public méthode

public __construct ( string | null $dataPath = null )
$dataPath string | null

__destruct() public méthode

public __destruct ( )

boot() public méthode

public boot ( )

bootProviders() protected méthode

Boot providers.
protected bootProviders ( )

config() public méthode

public config ( $config = null )

flushAliases() public méthode

public flushAliases ( )

flushProviders() public méthode

public flushProviders ( )

getAlias() public méthode

public getAlias ( $alias )

getAliases() public méthode

public getAliases ( )

getBasePath() public méthode

public getBasePath ( )

getDataDir() public méthode

public getDataDir ( )

getDataPath() public méthode

public getDataPath ( )

getDefaultAliases() public méthode

Return list of default Aliases.
public getDefaultAliases ( ) : string[]
Résultat string[]

getDefaultProviders() public méthode

Return list of default Providers.
public getDefaultProviders ( ) : string[]
Résultat string[]

getProvider() public méthode

public getProvider ( $provider )

getProviders() public méthode

public getProviders ( )

getServices() public méthode

public getServices ( )

getType() public méthode

public getType ( )

getVersion() public méthode

public getVersion ( )

registerAlias() public méthode

public registerAlias ( $alias, $interface )

registerAliases() public méthode

public registerAliases ( $interfaces )

registerProvider() public méthode

public registerProvider ( $provider )

registerProviders() public méthode

public registerProviders ( $providers )

unregisterAlias() public méthode

public unregisterAlias ( $alias )

unregisterProvider() public méthode

public unregisterProvider ( $provider )

Property Details

$bootConfig protected_oe property

protected string[][] $bootConfig
Résultat string[][]

$dataPath protected_oe property

protected string $dataPath
Résultat string

$serviceRegister protected_oe property

protected ServiceRegister,Kraken\Container $serviceRegister
Résultat Kraken\Container\ServiceRegister