/** * @return Factory */ public static function getInstance() { if (self::$instance === null) { self::$instance = new Factory(); } return self::$instance; }
/** * @return Factory */ public static function getInstance() { if (self::$instance === NULL) { self::$instance = new self(); } return self::$instance; }