You are here

public static function MappingException::classNotFoundInNamespaces in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php \Doctrine\Common\Persistence\Mapping\MappingException::classNotFoundInNamespaces()

Parameters

string $className:

array $namespaces:

Return value

self

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

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php, line 35

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