PHP Class Spec\Dumplie\SharedKernel\Application\Extension\Command\TransactionExtensionSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: dumplie/dumplie

Public Methods

Method Description
it_commits_transaction_in_post_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\Transaction\Transaction $transaction, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
it_is_command_extension ( )
it_opens_transaction_in_pre_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
it_rethrows_exception_and_rollbacks_transaction_in_catch_exception_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\Transaction\Transaction $transaction, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
let ( Dumplie\SharedKernel\Application\Transaction\Factory $factory )

Method Details

it_commits_transaction_in_post_command_endpoint() public method

public it_commits_transaction_in_post_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\Transaction\Transaction $transaction, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
$factory Dumplie\SharedKernel\Application\Transaction\Factory
$transaction Dumplie\SharedKernel\Application\Transaction\Transaction
$serviceLocator Dumplie\SharedKernel\Application\ServiceLocator

it_is_command_extension() public method

it_opens_transaction_in_pre_command_endpoint() public method

public it_opens_transaction_in_pre_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
$factory Dumplie\SharedKernel\Application\Transaction\Factory
$serviceLocator Dumplie\SharedKernel\Application\ServiceLocator

it_rethrows_exception_and_rollbacks_transaction_in_catch_exception_command_endpoint() public method

public it_rethrows_exception_and_rollbacks_transaction_in_catch_exception_command_endpoint ( Dumplie\SharedKernel\Application\Transaction\Factory $factory, Dumplie\SharedKernel\Application\Transaction\Transaction $transaction, Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
$factory Dumplie\SharedKernel\Application\Transaction\Factory
$transaction Dumplie\SharedKernel\Application\Transaction\Transaction
$serviceLocator Dumplie\SharedKernel\Application\ServiceLocator

let() public method

public let ( Dumplie\SharedKernel\Application\Transaction\Factory $factory )
$factory Dumplie\SharedKernel\Application\Transaction\Factory