PHP 클래스 Bolt\EventListener\DoctrineListener

저자: Carson Full ([email protected])
저자: Gawain Lynch ([email protected])
상속: implements Doctrine\Common\EventSubscriber, use trait Psr\Log\LoggerAwareTrait
파일 보기 프로젝트 열기: bolt/bolt

공개 메소드들

메소드 설명
__construct ( Psr\Log\LoggerInterface $logger, Exception $exceptionController )
failConnect ( Bolt\Events\FailedConnectionEvent $args ) Event fired on database connection failure.
getSubscribedEvents ( )
postConnect ( Doctrine\DBAL\Event\ConnectionEventArgs $args ) After connecting, update this connection's database settings.

메소드 상세

__construct() 공개 메소드

public __construct ( Psr\Log\LoggerInterface $logger, Exception $exceptionController )
$logger Psr\Log\LoggerInterface
$exceptionController Bolt\Controller\Exception

failConnect() 공개 메소드

Event fired on database connection failure.
public failConnect ( Bolt\Events\FailedConnectionEvent $args )
$args Bolt\Events\FailedConnectionEvent

getSubscribedEvents() 공개 메소드

public getSubscribedEvents ( )

postConnect() 공개 메소드

Note: Doctrine expects this method to be called postConnect
public postConnect ( Doctrine\DBAL\Event\ConnectionEventArgs $args )
$args Doctrine\DBAL\Event\ConnectionEventArgs