Check if this class is mapped by this Object Manager + ClassMetadata configuration
$class:
bool
Overrides ClassMetadataFactory::isTransient
public function isTransient($class) {
if (!$this->initialized) {
$this
->initialize();
}
// Check for namespace alias
if (strpos($class, ':') !== false) {
list($namespaceAlias, $simpleClassName) = explode(':', $class);
$class = $this
->getFqcnFromAlias($namespaceAlias, $simpleClassName);
}
return $this
->getDriver()
->isTransient($class);
}