public static function MappingException::classNotFoundInNamespaces

Parameters

string $className:

array $namespaces:

Return value

MappingException

1 call to MappingException::classNotFoundInNamespaces()
MappingDriverChain::loadMetadataForClass in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php
Loads the metadata for the specified class into the provided container.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php, line 36

Class

MappingException
A MappingException indicates that something is wrong with the mapping setup.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public static function classNotFoundInNamespaces($className, $namespaces) {
  return new self("The class '" . $className . "' was not found in the " . "chain configured namespaces " . implode(", ", $namespaces));
}