1 | <?php |
||
16 | class ORMException extends Exception |
||
17 | { |
||
18 | /** |
||
19 | * @param string $field |
||
20 | * |
||
21 | * @return ORMException |
||
22 | */ |
||
23 | public static function unrecognizedField($field) |
||
27 | |||
28 | /** |
||
29 | * |
||
30 | * @param string $class |
||
31 | * @param string $association |
||
32 | * @param string $given |
||
33 | * @param string $expected |
||
34 | * |
||
35 | * @return \Doctrine\ORM\ORMInvalidArgumentException |
||
36 | */ |
||
37 | public static function unexpectedAssociationValue($class, $association, $given, $expected) |
||
41 | |||
42 | /** |
||
43 | * @return ORMException |
||
44 | */ |
||
45 | public static function invalidResultCacheDriver() |
||
49 | 2 | ||
50 | /** |
||
51 | * @return ORMException |
||
52 | */ |
||
53 | public static function notSupported() |
||
57 | |||
58 | /** |
||
59 | * @return ORMException |
||
60 | */ |
||
61 | public static function queryCacheNotConfigured() |
||
65 | |||
66 | /** |
||
67 | * @return ORMException |
||
68 | */ |
||
69 | public static function metadataCacheNotConfigured() |
||
73 | |||
74 | /** |
||
75 | * @param \Doctrine\Common\Cache\Cache $cache |
||
76 | * |
||
77 | * @return ORMException |
||
78 | */ |
||
79 | public static function queryCacheUsesNonPersistentCache(CacheDriver $cache) |
||
83 | |||
84 | /** |
||
85 | 1 | * @param \Doctrine\Common\Cache\Cache $cache |
|
86 | * |
||
87 | 1 | * @return ORMException |
|
88 | 1 | */ |
|
89 | 1 | public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache) |
|
93 | } |
||
94 |