bingo-soft /
jabe
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Jabe\Impl; |
||
| 4 | |||
| 5 | use Jabe\History\HistoricTaskInstanceReportInterface; |
||
| 6 | use Jabe\Impl\Interceptor\{ |
||
| 7 | CommandInterface, |
||
| 8 | CommandContext |
||
| 9 | }; |
||
| 10 | |||
| 11 | class ExecuteDurationCmd implements CommandInterface |
||
| 12 | { |
||
| 13 | private $scope; |
||
| 14 | |||
| 15 | public function __construct(HistoricTaskInstanceReportInterface $scope) |
||
| 16 | { |
||
| 17 | $this->scope = $scope; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function execute(CommandContext $commandContext) |
||
| 21 | { |
||
| 22 | return $this->scope->executeDuration($commandContext); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 23 | } |
||
| 24 | } |
||
| 25 |