Get the static instance of this invoker.
public static instance ( ) : |
||
return | The static invoker. |
/** * Get the static instance of this factory. * * @return CallFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(CallEventFactory::instance(), Invoker::instance()); } return self::$instance; }
/** * Get the static instance of this factory. * * @return HandleFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(StubFactory::instance(), StubVerifierFactory::instance(), AssertionRenderer::instance(), ExceptionAssertionRecorder::instance(), Invoker::instance()); } return self::$instance; }
/** * Get the static instance of this factory. * * @return SpyFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(Sequencer::sequence('spy-label'), CallFactory::instance(), Invoker::instance(), GeneratorSpyFactory::instance(), IterableSpyFactory::instance()); } return self::$instance; }
/** * Get the static instance of this factory. * * @return GeneratorAnswerBuilderFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(InvocableInspector::instance(), Invoker::instance(), FeatureDetector::instance()); } return self::$instance; }
/** * Get the static instance of this factory. * * @return StubFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(Sequencer::sequence('stub-label'), MatcherFactory::instance(), MatcherVerifier::instance(), Invoker::instance(), InvocableInspector::instance(), EmptyValueFactory::instance(), GeneratorAnswerBuilderFactory::instance()); } return self::$instance; }