public function RuntimeReflectionService::getClassShortName in Plug 7
Returns the shortname of a class.
Parameters
string $class:
Return value
string
Overrides ReflectionService::getClassShortName
File
- lib/doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ RuntimeReflectionService.php, line 50 
Class
- RuntimeReflectionService
- PHP Runtime Reflection Service.
Namespace
Doctrine\Common\Persistence\MappingCode
public function getClassShortName($class) {
  $reflectionClass = new ReflectionClass($class);
  return $reflectionClass
    ->getShortName();
}