PHP 클래스 YetORM\Transaction

파일 보기 프로젝트 열기: uestla/yetorm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Connection $connection )
begin ( ) : void
commit ( ) : void
rollback ( ) : void
transaction ( Closure $callback ) : mixed

비공개 메소드들

메소드 설명
getDsnKey ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Connection $connection )
$connection Nette\Database\Connection

begin() 공개 메소드

public begin ( ) : void
리턴 void

commit() 공개 메소드

public commit ( ) : void
리턴 void

rollback() 공개 메소드

public rollback ( ) : void
리턴 void

transaction() 공개 메소드

public transaction ( Closure $callback ) : mixed
$callback Closure
리턴 mixed