1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Doctrine now throws exception if instances are tried being created

This commit is contained in:
zYne 2006-08-15 23:49:58 +00:00
parent f7602a3bf5
commit ee4b46adea

View File

@ -236,7 +236,12 @@ final class Doctrine {
*/
const UNIQUE_KEY = 1;
/**
* constructor
*/
public function __construct() {
throw new Doctrine_Exception('Doctrine is static class. No instances can be created.');
}
/**
* @var string $path doctrine root directory
*/