| 1 | <?php |
||
| 10 | class Executor |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \ArrayIterator|null |
||
| 14 | */ |
||
| 15 | private $processList = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Executor constructor. |
||
| 19 | */ |
||
| 20 | 6 | public function __construct() |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param ProcessInterface $process |
||
| 27 | */ |
||
| 28 | 6 | public function addProcess(ProcessInterface $process) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Execute a set of processes |
||
| 35 | */ |
||
| 36 | 6 | public function execute() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Rollback in reverse order |
||
| 47 | */ |
||
| 48 | 3 | public function rollBack() |
|
| 62 | } |
||
| 63 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.