File manager - Edit - /var/www/payraty/helpdesk/app/Services/Triggers/Conditions/Customer/CustomerNameCondition.php
Back
<?php namespace App\Services\Triggers\Conditions\Customer; use App\Models\Ticket; use App\Services\Triggers\Conditions\BaseCondition; class CustomerNameCondition extends BaseCondition { /** * Check if ticket customer condition should be met based on specified values. */ public function isMet( Ticket $updatedTicket, ?array $originalTicket, string $operatorName, $conditionValue, ): bool { return $this->comparator->compare( $updatedTicket->user->display_name, $conditionValue, $operatorName, ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.76 |
proxy
|
phpinfo
|
Settings