invoiceninja/app/Ninja/Tickets/Actions/TicketInboundNew.php
2019-01-30 22:25:07 +11:00

30 lines
621 B
PHP

<?php
namespace App\Ninja\Tickets\Actions;
use App\Models\Ticket;
use Illuminate\Support\Facades\Log;
/**
* Class TicketInboundNew
* @package App\Ninja\Tickets\Actions
*/
class TicketInboundNew extends BaseTicketAction
{
/**
* Fire sequence for TICKET_INBOUND_NEW
*
* Curent scope there is no difference from
* TICKET_CLIENT_NEW so we simply init that class and ->fire()
*/
public function fire(Ticket $ticket)
{
Log::error('inside ticket inbound new and just about to fire action');
$handler = new TicketClientNew();
$handler->fire($ticket);
}
}