Entity/Traits/TicketTrait.php
public function setStatusString($status)
    {
        $status = \array_search(\strtolower($status), TicketMessageInterface::STATUSES);

        if ($status > 0) {
            $this->setStatus($status);
        }

        return $this;
    }
public function setStatusString($status)
    {
        $status = \array_search(\strtolower($status), TicketMessageInterface::STATUSES);

        if ($status > 0) {
            $this->setStatus($status);
        }

        return $this;
    }
public function setStatusString ( $ status ) { $ status = \ array_search ( \ strtolower ( $ status ) , TicketMessageInterface :: STATUSES ) ; if ( $ status > 0 ) { $ this -> setStatus ( $ status ) ; } return $ this ; }
Set status string.

@param string $status

@return $this
Set status string .