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