You are here

public function RuntimeReflectionService::getClass in Plug 7

Returns a reflection class instance or null.

Parameters

string $class:

Return value

\ReflectionClass|null

Overrides ReflectionService::getClass

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php, line 70

Class

RuntimeReflectionService
PHP Runtime Reflection Service.

Namespace

Doctrine\Common\Persistence\Mapping

Code

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