You are here

public function TestObjectMetadata::getReflectionClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObjectMetadata::getReflectionClass()

Gets the ReflectionClass instance for this mapped class.

Return value

\ReflectionClass

Overrides ClassMetadata::getReflectionClass

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php, line 187

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function getReflectionClass() {
  return new \ReflectionClass($this
    ->getName());
}