function ReflectionService::getClassNamespace

Parameters

string $class:

Return value

string

2 methods override ReflectionService::getClassNamespace()
RuntimeReflectionService::getClassNamespace in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php
StaticReflectionService::getClassNamespace in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php
Return the namespace of a class.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php, line 52

Class

ReflectionService
Very simple reflection service abstraction.

Namespace

Doctrine\Common\Persistence\Mapping

Code

function getClassNamespace($class);