Jackalope\Transaction\UserTransaction::__construct PHP Method

__construct() public method

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
    public function __construct(FactoryInterface $factory, TransactionInterface $transport, SessionInterface $session, ObjectManager $objectManager)
    {
        $this->factory = $factory;
        $this->transport = $transport;
        $this->session = $session;
        $this->objectManager = $objectManager;
    }