You are here

public function RuntimeReflectionService::getClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php \Doctrine\Common\Persistence\Mapping\RuntimeReflectionService::getClass()

Returns a reflection class instance or null.

Parameters

string $class:

Return value

\ReflectionClass|null

Overrides ReflectionService::getClass

File

vendor/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);
}