instance() public static méthode

Get the static instance of this factory.
public static instance ( ) : GeneratorVerifierFactory
Résultat GeneratorVerifierFactory The static factory.
 /**
  * Get the static instance of this factory.
  *
  * @return CallVerifierFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(MatcherFactory::instance(), MatcherVerifier::instance(), GeneratorVerifierFactory::instance(), IterableVerifierFactory::instance(), ExceptionAssertionRecorder::instance(), AssertionRenderer::instance());
     }
     return self::$instance;
 }
 /**
  * Get the static instance of this factory.
  *
  * @return StubVerifierFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(StubFactory::instance(), SpyFactory::instance(), MatcherFactory::instance(), MatcherVerifier::instance(), GeneratorVerifierFactory::instance(), IterableVerifierFactory::instance(), CallVerifierFactory::instance(), ExceptionAssertionRecorder::instance(), AssertionRenderer::instance(), GeneratorAnswerBuilderFactory::instance(), FunctionHookManager::instance());
     }
     return self::$instance;
 }