Sindbad~EG File Manager

Current Path : /home/admin/ricard2.blog.lppelm.o2switch.site/wp-content/plugins/mailin/inc/
Upload File :
Current File : /home/admin/ricard2.blog.lppelm.o2switch.site/wp-content/plugins/mailin/inc/SendinblueAccount.php

<?php

class SendinblueAccount
{
    private static $sendinblueAccountObj = null;
    private $sendinblueAccountData;
    private $lastResponseCode;

    /**
     * SendinblueAccount private constructor.
     */
    private function __construct()
    {

    }

    /**
     * Getter function for account data
     */
    public function getSendinblueAccountData()
    {
        return $this->sendinblueAccountData;
    }

    /**
     * Setter function for account data
     */
    public function setSendinblueAccountData($sendinblueAccountData)
    {
        $this->sendinblueAccountData = $sendinblueAccountData;
    }

    /**
     * Getter function for last response code
     */
    public function getLastResponseCode()
    {
        return $this->lastResponseCode;
    }

    /**
     * Setter function for last response code
     */
    public function setLastResponseCode($lastResponseCode)
    {
        $this->lastResponseCode = $lastResponseCode;
    }

    /**
     * Static function to create a new instance or return an existing instance.
     */
    public static function getInstance()
    {
        if( null == self::$sendinblueAccountObj )
        {
            self::$sendinblueAccountObj = new SendinblueAccount();
        }  
        
        return self::$sendinblueAccountObj;
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists