File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,7 @@ updating your project from Doctrine Common 2.1 to 2.2:
55
55
- Added support to MemcachedCache
56
56
57
57
- Added support to WincacheCache
58
+
59
+ ## ClassLoader Changes
60
+
61
+ - ClassLoader::fileExistsInIncludePath() no longer exists. Use the native stream_resolve_include_path() PHP function
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ public function canLoadClass($className)
184
184
return file_exists ($ this ->includePath . DIRECTORY_SEPARATOR . $ file );
185
185
}
186
186
187
- return (false !== stream_resolve_include_path ($ file ));//self::fileExistsInIncludePath($file);
187
+ return (false !== stream_resolve_include_path ($ file ));
188
188
}
189
189
190
190
/**
@@ -259,13 +259,4 @@ public static function getClassLoader($className)
259
259
260
260
return null ;
261
261
}
262
-
263
- /**
264
- * @param string $file The file relative path.
265
- * @return boolean Whether file exists in include_path.
266
- */
267
- /*public static function fileExistsInIncludePath($file)
268
- {
269
- return (false !== stream_resolve_include_path($file));
270
- }*/
271
262
}
You can’t perform that action at this time.
0 commit comments