/** * If an instance exists, this returns it. If not, it creates one and returns it. * * @return Selcont */ public static function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }