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