public function getSessionId()
    {
        if ($mauticSessionId = $this->get(self::MAUTIC_SESSION_ID)) {
            return $mauticSessionId;
        }

        if ($mauticSessionId = $this->get(self::MTC_SID)) {
            return $mauticSessionId;
        }

        return null;
    }
public function getSessionId()
    {
        if ($mauticSessionId = $this->get(self::MAUTIC_SESSION_ID)) {
            return $mauticSessionId;
        }

        if ($mauticSessionId = $this->get(self::MTC_SID)) {
            return $mauticSessionId;
        }

        return null;
    }
public function getSessionId ( ) { if ( $ mauticSessionId = $ this -> get ( self :: MAUTIC_SESSION_ID ) ) { return $ mauticSessionId ; } if ( $ mauticSessionId = $ this -> get ( self :: MTC_SID ) ) { return $ mauticSessionId ; } return null ; }
Returns Mautic session ID if it exists in the cookie

@return string|null
Returns Mautic session ID if it exists in the cookie