PHP 클래스 Jackalope\Transaction\UserTransaction

저자: Johannes Stark ([email protected])
상속: implements PHPCR\Transaction\UserTransactionInterface
파일 보기 프로젝트 열기: jackalope/jackalope

보호된 프로퍼티들

프로퍼티 타입 설명
$factory Jackalope\FactoryInterface The factory to instantiate objects
$inTransaction boolean Stores the current state of the application, whether it is inside a transaction or not
$objectManager Jackalope\ObjectManager
$session PHPCR\SessionInterface Instance of an implementation of the \PHPCR\SessionInterface.
$transport Jackalope\Transport\TransactionInterface Instance of an implementation of the TransactionInterface transport

공개 메소드들

메소드 설명
__construct ( Jackalope\FactoryInterface $factory, Jackalope\Transport\TransactionInterface $transport, PHPCR\SessionInterface $session, ObjectManager $objectManager ) Registers the provided parameters as attribute to the instance.
begin ( ) {@inheritDoc}
commit ( ) {@inheritDoc}
inTransaction ( ) {@inheritDoc}
rollback ( ) {@inheritDoc}
setTransactionTimeout ( $seconds ) {@inheritDoc}

메소드 상세

__construct() 공개 메소드

Registers the provided parameters as attribute to the instance.
public __construct ( Jackalope\FactoryInterface $factory, Jackalope\Transport\TransactionInterface $transport, PHPCR\SessionInterface $session, ObjectManager $objectManager )
$factory Jackalope\FactoryInterface the object factory
$transport Jackalope\Transport\TransactionInterface
$session PHPCR\SessionInterface
$objectManager Jackalope\ObjectManager

begin() 공개 메소드

{@inheritDoc}
public begin ( )

commit() 공개 메소드

TODO: Make sure RollbackException and AccessDeniedException are thrown by the transport if corresponding problems occur
public commit ( )

inTransaction() 공개 메소드

{@inheritDoc}
public inTransaction ( )

rollback() 공개 메소드

TODO: Make sure RollbackException and AccessDeniedException are thrown by the transport if corresponding problems occur
public rollback ( )

setTransactionTimeout() 공개 메소드

{@inheritDoc}
public setTransactionTimeout ( $seconds )

프로퍼티 상세

$factory 보호되어 있는 프로퍼티

The factory to instantiate objects
protected FactoryInterface,Jackalope $factory
리턴 Jackalope\FactoryInterface

$inTransaction 보호되어 있는 프로퍼티

Stores the current state of the application, whether it is inside a transaction or not
protected bool $inTransaction
리턴 boolean

$objectManager 보호되어 있는 프로퍼티

protected ObjectManager,Jackalope $objectManager
리턴 Jackalope\ObjectManager

$session 보호되어 있는 프로퍼티

Instance of an implementation of the \PHPCR\SessionInterface.
protected SessionInterface,PHPCR $session
리턴 PHPCR\SessionInterface

$transport 보호되어 있는 프로퍼티

Instance of an implementation of the TransactionInterface transport
protected TransactionInterface,Jackalope\Transport $transport
리턴 Jackalope\Transport\TransactionInterface