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