public function StaticPHPDriver::isTransient in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php \Doctrine\Common\Persistence\Mapping\Driver\StaticPHPDriver::isTransient()
Returns 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
1 call to StaticPHPDriver::isTransient()
- StaticPHPDriver::getAllClassNames in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ StaticPHPDriver.php - @todo Same code exists in AnnotationDriver, should we re-use it somehow or not worry about it?
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ StaticPHPDriver.php, line 138
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\DriverCode
public function isTransient($className) {
return !method_exists($className, 'loadMetadata');
}