public function getRevisedPriorityAttribute($id)
    {
        if ($id) {
            $priority = $this->priority()->find($id);

            if ($priority instanceof Priority) {
                return $priority->getLabel();
            }
        }

        return;
    }
public function getRevisedPriorityAttribute($id)
    {
        if ($id) {
            $priority = $this->priority()->find($id);

            if ($priority instanceof Priority) {
                return $priority->getLabel();
            }
        }

        return;
    }
public function getRevisedPriorityAttribute ( $ id ) { if ( $ id ) { $ priority = $ this -> priority ( ) -> find ( $ id ) ; if ( $ priority instanceof Priority ) { return $ priority -> getLabel ( ) ; } } return ; }
Retrieves the revised priority attribute.

@param int|string $id

@return null|string
Retrieves the revised priority attribute .