PHPStan\Reflection\ClassReflection::getName PHP Method

getName() public method

public getName ( ) : string
return string
    public function getName() : string
    {
        return $this->reflection->getName();
    }

Usage Example

Example #1
0
 public function getReturnType() : Type
 {
     if ($this->returnType === null) {
         $this->returnType = TypehintHelper::decideType($this->reflection->getReturnType(), $this->phpDocReturnType, $this->declaringClass->getName());
     }
     return $this->returnType;
 }
All Usage Examples Of PHPStan\Reflection\ClassReflection::getName