Documentation

TransactionalInterceptor
in package
implements MethodInterceptor

FinalYes

Table of Contents

Interfaces

MethodInterceptor

Methods

invoke()  : mixed
executeInTransaction()  : mixed
Execute the given callback in a transaction.

Methods

executeInTransaction()

Execute the given callback in a transaction.

private executeInTransaction(Closure $callback, Transactional $attribute) : mixed
Parameters
$callback : Closure

The callback

$attribute : Transactional

The attribute

Return values
mixed

The result of the callback


        
On this page

Search results