PHP Class Atrauzzi\LaravelDoctrine\ServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Afficher le fichier Open project: atrauzzi/laravel-doctrine

Méthodes publiques

Méthode Description
boot ( ) : void Bootstrap the application events.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Méthodes protégées

Méthode Description
createCache ( ) : CacheProvider Initializes cache. Defaults to Array cache.
createDoctrineConfig ( $cache ) : Doctrine\ORM\Configuration
createEventManager ( ) : Doctrine\Common\EventManager
createMetadataDriver ( Doctrine\ORM\Configuration $config, array $driverConfig ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver Takes care of building any drivers we wish to support.
extendsAuth ( )
getDoctrineConnection ( ) : mixed
registerCustomTypes ( )

Private Methods

Méthode Description
mapToDoctrineConfigs ( $config ) : mixed

Method Details

boot() public méthode

Bootstrap the application events.
public boot ( ) : void
Résultat void

createCache() protected méthode

Initializes cache. Defaults to Array cache.
protected createCache ( ) : CacheProvider
Résultat Doctrine\Common\Cache\CacheProvider

createDoctrineConfig() protected méthode

protected createDoctrineConfig ( $cache ) : Doctrine\ORM\Configuration
$cache
Résultat Doctrine\ORM\Configuration

createEventManager() protected méthode

protected createEventManager ( ) : Doctrine\Common\EventManager
Résultat Doctrine\Common\EventManager

createMetadataDriver() protected méthode

Note: Chain is handled above, it's special.
protected createMetadataDriver ( Doctrine\ORM\Configuration $config, array $driverConfig ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
$config Doctrine\ORM\Configuration
$driverConfig array
Résultat Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

extendsAuth() protected méthode

protected extendsAuth ( )

getDoctrineConnection() protected méthode

protected getDoctrineConnection ( ) : mixed
Résultat mixed

provides() public méthode

Get the services provided by the provider.
public provides ( ) : array
Résultat array

register() public méthode

Register the service provider.
public register ( ) : void
Résultat void

registerCustomTypes() protected méthode

protected registerCustomTypes ( )