Whether the class with the specified name should have its metadata loaded.
This is only the case if it is either mapped as an Entity or a
MappedSuperclass.
Parameters
string $className:
Return value
boolean
Overrides MappingDriver::isTransient
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php, line 137
Class
- StaticPHPDriver
- The StaticPHPDriver calls a static loadMetadata() method on your entity
classes where you can manually populate the ClassMetadata instance.
Namespace
Doctrine\Common\Persistence\Mapping\Driver
Code
public function isTransient($className) {
return !method_exists($className, 'loadMetadata');
}