BetterReflection\Reflection\ReflectionClass::getShortName PHP Method

getShortName() public method

Get the "short" name of the class (e.g. for A\B\Foo, this will return "Foo").
public getShortName ( ) : string
return string
    public function getShortName()
    {
        return $this->node->name;
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function getShortName()
 {
     return $this->betterReflectionClass->getShortName();
 }
All Usage Examples Of BetterReflection\Reflection\ReflectionClass::getShortName