Completed
Branch feature/pre-split (745f0c)
by Anton
03:28
created

TransactionalCommand   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 1

3 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 4 1
A complete() 0 4 1
A rollBack() 0 4 1
1
<?php
2
/**
3
 * components
4
 *
5
 * @author    Wolfy-J
6
 */
7
namespace Spiral\ORM\Commands;
8
9
use Spiral\ORM\CommandInterface;
10
use Spiral\ORM\Transaction;
11
12
/**
13
 * Command to handle multiple inner commands.
14
 */
15
class TransactionalCommand extends Transaction implements CommandInterface
16
{
17
    public function execute()
18
    {
19
        //nothing to do (see getCommands())
20
    }
21
22
    public function complete()
23
    {
24
        //nothing to do (see getCommands())
25
    }
26
27
    public function rollBack()
28
    {
29
        //nothing to do (see getCommands())
30
    }
31
}