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