/** * @param string $methodName the name of the method to read * * @return PHPDoc\Annotations[] */ private function getMethodAnnotations($methodName) { return $this->docCommentToAnnotations(new \ReflectionMethod($this->inClass->getPhpClassName()->getFullyQualifiedClassName(), $methodName)); }
/** * Get the class name of the class being mocked. * * @return string */ public function getClassNameBeingMocked() { $phpClassName = $this->phpClass->getPhpClassName(); $className = $phpClassName->getFullyQualifiedClassName(); return $className; }