File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/src/Application/Controller/Notification/SendUndeliveredNotificationsController.php
Back
<?php namespace AmeliaBooking\Application\Controller\Notification; use AmeliaBooking\Application\Commands\Notification\SendUndeliveredNotificationsCommand; use AmeliaBooking\Application\Controller\Controller; use RuntimeException; use Slim\Http\Request; /** * Class SendUndeliveredNotificationsController * * @package AmeliaBooking\Application\Controller\Notification */ class SendUndeliveredNotificationsController extends Controller { /** * Instantiates the Send Undelivered Notifications command to hand it over to the Command Handler * * @param Request $request * @param $args * * @return SendUndeliveredNotificationsCommand * @throws RuntimeException */ protected function instantiateCommand(Request $request, $args) { $command = new SendUndeliveredNotificationsCommand($args); $requestBody = $request->getParsedBody(); $this->setCommandFields($command, $requestBody); return $command; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings