public function RuntimeReflectionService::getClass

Return a reflection class instance or null

Parameters

string $class:

Return value

ReflectionClass|null

Overrides ReflectionService::getClass

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php, line 71

Class

RuntimeReflectionService
PHP Runtime Reflection Service

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getClass($class) {
  return new ReflectionClass($class);
}