mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-31 15:42:03 -04:00
30 lines
621 B
PHP
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);
|
|
|
|
}
|
|
|
|
}
|