/** * If an instance of PlentymarketsCronjobController exists, it returns this instance. * Else it creates a new instance of PlentymarketsCronjobController. * * @return PlentymarketsCronjobController */ public static function getInstance() { if (!self::$Instance instanceof self) { self::$Instance = new self(); } return self::$Instance; }