app/Jobs/Invoicing/ProcessOrder.php
/**
     * Checks if this string matches the format of a service request.
     *
     * @param string $title
     *
     * @return bool
     */
Checks if this string matches the format of a service request.
@param string $title

@return bool
Checks if this string matches the format of a service request . @param string $title @return bool
public static function isServiceRequestTitle(string $title): bool
    {
        $serviceTitles = ['service request for '];
        $title = strtolower($title);
        return starts_with($title, $serviceTitles);
    }
public static function isServiceRequestTitle ( string $ title ) : bool { $ serviceTitles = [ 'service request for ' ] ; $ title = strtolower ( $ title ) ; return starts_with ( $ title , $ serviceTitles ) ; }
Checks if this string matches the format of a service request.
Checks if this string matches the format of a service request .
# convert the title