public function getContactId()
    {
        if ($mtcId = $this->getInt(self::MTC_ID)) {
            return $mtcId;
        } elseif ($mauticSessionId = $this->getSessionId()) {
            return $this->getInt($mauticSessionId);
        }

        return null;
    }
public function getContactId()
    {
        if ($mtcId = $this->getInt(self::MTC_ID)) {
            return $mtcId;
        } elseif ($mauticSessionId = $this->getSessionId()) {
            return $this->getInt($mauticSessionId);
        }

        return null;
    }
public function getContactId ( ) { if ( $ mtcId = $ this -> getInt ( self :: MTC_ID ) ) { return $ mtcId ; } elseif ( $ mauticSessionId = $ this -> getSessionId ( ) ) { return $ this -> getInt ( $ mauticSessionId ) ; } return null ; }
Get Mautic Contact ID from Cookie

@return int|null
Get Mautic Contact ID from Cookie