Entity/Traits/TicketTrait.php
public function setPriorityString($priority)
    {
        $priority = \array_search(\strtolower($priority), TicketMessageInterface::PRIORITIES);

        if ($priority > 0) {
            $this->setPriority($priority);
        }

        return $this;
    }
public function setPriorityString($priority)
    {
        $priority = \array_search(\strtolower($priority), TicketMessageInterface::PRIORITIES);

        if ($priority > 0) {
            $this->setPriority($priority);
        }

        return $this;
    }
public function setPriorityString ( $ priority ) { $ priority = \ array_search ( \ strtolower ( $ priority ) , TicketMessageInterface :: PRIORITIES ) ; if ( $ priority > 0 ) { $ this -> setPriority ( $ priority ) ; } return $ this ; }
Set priority string.

@param string $priority

@return $this
Set priority string .