PHP 클래스 Atrauzzi\LaravelDoctrine\ServiceProvider

상속: extends Illuminate\Support\ServiceProvider
파일 보기 프로젝트 열기: atrauzzi/laravel-doctrine

공개 메소드들

메소드 설명
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 ( )