Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function execute() |
||
19 | { |
||
20 | /** @var Http $response */ |
||
21 | $response = $this->getResponse(); |
||
22 | $repo = ObjectManager::getInstance()->get(CommandScheduleRepositoryInterface::class); |
||
23 | |||
24 | $thing = $repo->getById($this->getRequest()->getParam('id')); |
||
25 | |||
26 | $response->setBody(nl2br($thing->getResult())); |
||
27 | |||
28 | return $this->getResponse(); |
||
29 | } |
||
32 |