1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Merge pull request #154 from Partugal/master

Fix isTransient call on uninitialized ClassMetadataFactory
This commit is contained in:
Benjamin Eberlei 2011-10-19 00:04:14 -07:00
commit 7345c795ac

View File

@ -494,6 +494,10 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
*/
public function isTransient($class)
{
if ( ! $this->initialized) {
$this->initialize();
}
return $this->driver->isTransient($class);
}
}