public function getStatus(string $leadStatusId): LeadStatus
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use get() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->get($leadStatusId);
    }
public function getStatus(string $leadStatusId): LeadStatus
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use get() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->get($leadStatusId);
    }
public function getStatus ( string $ leadStatusId ) : LeadStatus { @ trigger_error ( sprintf ( 'The %s() method is deprecated since version 0.8. Use get() instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; return $ this -> get ( $ leadStatusId ) ; }
Gets the information about the lead status that matches the given ID.

@param string $leadStatusId The ID of the lead status

@return LeadStatus

@deprecated since version 0.8, to be removed in 0.9. Use get() instead
Gets the information about the lead status that matches the given ID .