public function __getFunctionName() { return $this->__checker->getFunctionName(); }
/** * @param $functionName * @param $returnValue * @param $request * @param $methodName * * @return Call\Verifier\InstanceMethodCallVerifier|static * @throws \Exception */ private static function get_function_or_static_method_replacement($functionName, $returnValue, $request, $methodName) { $checker = Checker::fromName($functionName); $callLogger = CallLoggerFactory::make($functionName); $verifier = CallVerifierFactory::make($request, $checker, $returnValue, $callLogger); self::replace_with_patchwork($functionName, $returnValue, $request, $methodName, $callLogger); return $verifier; }