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

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

        return $this->get($id);
    }
public function getLead ( string $ id ) : Lead { @ trigger_error ( sprintf ( 'The %s() method is deprecated since version 0.8. Use get() instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; return $ this -> get ( $ id ) ; }
Gets the lead with the given ID.

@param string $id The ID of the lead

@return Lead

@deprecated since version 0.8, to be removed in 0.9. Use get() instead.
Gets the lead with the given ID .