protected function getPriority(): PriorityInterface
    {
        if ($this->priority === null) {
            $this->priority = new CriticalPriority();
        }

        return $this->priority;
    }
protected function getPriority(): PriorityInterface
    {
        if ($this->priority === null) {
            $this->priority = new CriticalPriority();
        }

        return $this->priority;
    }
protected function getPriority ( ) : PriorityInterface { if ( $ this -> priority === null ) { $ this -> priority = new CriticalPriority ( ) ; } return $ this -> priority ; }
Get priority.

@return PriorityInterface
Get priority .