PHP Класс Atrauzzi\LaravelDoctrine\ServiceProvider

Наследование: extends Illuminate\Support\ServiceProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
boot ( ) : void Bootstrap the application events.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Защищенные методы

Метод Описание
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 ( )

Приватные методы

Метод Описание
mapToDoctrineConfigs ( $config ) : mixed

Описание методов

boot() публичный метод

Bootstrap the application events.
public boot ( ) : void
Результат void

createCache() защищенный метод

Initializes cache. Defaults to Array cache.
protected createCache ( ) : CacheProvider
Результат Doctrine\Common\Cache\CacheProvider

createDoctrineConfig() защищенный метод

protected createDoctrineConfig ( $cache ) : Doctrine\ORM\Configuration
$cache
Результат Doctrine\ORM\Configuration

createEventManager() защищенный метод

protected createEventManager ( ) : Doctrine\Common\EventManager
Результат Doctrine\Common\EventManager

createMetadataDriver() защищенный метод

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
Результат Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

extendsAuth() защищенный метод

protected extendsAuth ( )

getDoctrineConnection() защищенный метод

protected getDoctrineConnection ( ) : mixed
Результат mixed

provides() публичный метод

Get the services provided by the provider.
public provides ( ) : array
Результат array

register() публичный метод

Register the service provider.
public register ( ) : void
Результат void

registerCustomTypes() защищенный метод

protected registerCustomTypes ( )