/** * Get the static instance of this factory. * * @return MockBuilderFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(MockFactory::instance(), HandleFactory::instance(), InvocableInspector::instance(), FeatureDetector::instance()); } return self::$instance; }
/** * Get the static instance of this factory. * * @return MockFactory The static factory. */ public static function instance() { if (!self::$instance) { self::$instance = new self(Sequencer::sequence('mock-label'), MockGenerator::instance(), HandleFactory::instance(), FeatureDetector::instance()); } return self::$instance; }