You are here

public function LazyLoadableObjectClassMetadata::getReflectionClass in Plug 7

Gets the ReflectionClass instance for this mapped class.

Return value

\ReflectionClass

Overrides ClassMetadata::getReflectionClass

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php, line 83

Class

LazyLoadableObjectClassMetadata
Class metadata test asset for @author Marco Pivetta <ocramius@gmail.com> @since 2.4

Namespace

Doctrine\Tests\Common\Proxy

Code

public function getReflectionClass() {
  if (null === $this->reflectionClass) {
    $this->reflectionClass = new \ReflectionClass(__NAMESPACE__ . '\\LazyLoadableObject');
  }
  return $this->reflectionClass;
}