/** * Restiuisce un singleton per creare CdL * @return \CorsoDiLaureaFactory */ public static function instance() { if (!isset(self::$singleton)) { self::$singleton = new CorsoDiLaureaFactory(); } return self::$singleton; }