public static function getInstance() { if (!self::$cmObj instanceof self) { self::$cmObj = new self(); } return self::$cmObj; }
public function __construct() { $this->url = DOCKER_URL . '/containers/'; $this->cmObj = CurlMethod::getInstance(); }