Compare commits

...

3 Commits

Author SHA1 Message Date
Włodzimierz Gajda 6329e84c2d [2.0][Component][ClassLoader] cs 2012-04-23 07:37:21 +02:00
marc.weistroff 28bf7c891b Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
Drak 1c055115cc [ClassLoader] Update PSR-0 reference. 2012-01-11 09:27:00 +05:45
4 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -17,7 +17,7 @@ namespace Symfony\Component\ClassLoader;
* It is able to load classes that use either:
*
* * The technical interoperability standards for PHP 5.3 namespaces and
* class names (http://groups.google.com/group/php-standards/web/psr-0-final-proposal);
* class names (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md);
*
* * The PEAR naming convention for classes (http://pear.php.net/).
*
@@ -84,6 +84,8 @@ class ApcUniversalClassLoader extends UniversalClassLoader
* Finds a file by class name while caching lookups to APC.
*
* @param string $class A class name to resolve to file
*
* @return string|null The path, if found
*/
public function findFile($class)
{
+1 -1
View File
@@ -172,7 +172,7 @@ class ClassCollectionLoader
/**
* Writes a cache file.
*
* @param string $file Filename
* @param string $file Filename
* @param string $content Temporary file content
*
* @throws \RuntimeException when a cache file cannot be written
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2004-2011 Fabien Potencier
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+3 -3
View File
@@ -17,7 +17,7 @@ namespace Symfony\Component\ClassLoader;
* It is able to load classes that use either:
*
* * The technical interoperability standards for PHP 5.3 namespaces and
* class names (http://groups.google.com/group/php-standards/web/psr-0-final-proposal);
* class names (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md);
*
* * The PEAR naming convention for classes (http://pear.php.net/).
*
@@ -169,8 +169,8 @@ class UniversalClassLoader
/**
* Registers a set of classes using the PEAR naming convention.
*
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes
*
* @api
*/