Permalink
Browse files

[CssSelector] tagged thlassLoader]d BC API

  • Loading branch information...
1 parent 2a0e3f6 commit 250f88ac5c7b991b324a2f96ef40f5ea65956347 @fabpot fabpot committed Mar 24, 2011
Showing with 26 additions and 0 deletions.
  1. +4 −0 ApcUniversalClassLoader.php
  2. +6 −0 MapFileClassLoader.php
  3. +16 −0 UniversalClassLoader.php
@@ -17,6 +17,8 @@
* Class loader utilizing APC to remember where files are.
*
* @author Kris Wallsmith <kris.wallsmith@symfony.com>
+ *
+ * @api
*/
class ApcUniversalClassLoader extends UniversalClassLoader
{
@@ -26,6 +28,8 @@ class ApcUniversalClassLoader extends UniversalClassLoader
* Constructor.
*
* @param string $prefix A prefix to create a namespace in APC
+ *
+ * @api
*/
public function __construct($prefix)
{
View
@@ -15,6 +15,8 @@
* A class loader that uses a mapping file to look up paths.
*
* @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @api
*/
class MapFileClassLoader
{
@@ -24,6 +26,8 @@ class MapFileClassLoader
* Constructor.
*
* @param string $file Path to class mapping file
+ *
+ * @api
*/
public function __construct($file)
{
@@ -34,6 +38,8 @@ public function __construct($file)
* Registers this instance as an autoloader.
*
* @param Boolean $prepend Whether to prepend the autoloader or not
+ *
+ * @api
*/
public function register($prepend = false)
{
View
@@ -51,6 +51,8 @@
* found before giving up.
*
* @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @api
*/
class UniversalClassLoader
{
@@ -103,6 +105,8 @@ public function getPrefixFallback()
* Registers the directory to use as a fallback for namespaces.
*
* @param string|array $dirs A directory path or an array of directories
+ *
+ * @api
*/
public function registerNamespaceFallback($dirs)
{
@@ -113,6 +117,8 @@ public function registerNamespaceFallback($dirs)
* Registers the directory to use as a fallback for class prefixes.
*
* @param string|array $dirs A directory path or an array of directories
+ *
+ * @api
*/
public function registerPrefixFallback($dirs)
{
@@ -123,6 +129,8 @@ public function registerPrefixFallback($dirs)
* Registers an array of namespaces
*
* @param array $namespaces An array of namespaces (namespaces as keys and locations as values)
+ *
+ * @api
*/
public function registerNamespaces(array $namespaces)
{
@@ -136,6 +144,8 @@ public function registerNamespaces(array $namespaces)
*
* @param string $namespace The namespace
* @param array|string $paths The location(s) of the namespace
+ *
+ * @api
*/
public function registerNamespace($namespace, $paths)
{
@@ -146,6 +156,8 @@ public function registerNamespace($namespace, $paths)
* Registers an array of classes using the PEAR naming convention.
*
* @param array $classes An array of classes (prefixes as keys and locations as values)
+ *
+ * @api
*/
public function registerPrefixes(array $classes)
{
@@ -159,6 +171,8 @@ public function registerPrefixes(array $classes)
*
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes
+ *
+ * @api
*/
public function registerPrefix($prefix, $paths)
{
@@ -169,6 +183,8 @@ public function registerPrefix($prefix, $paths)
* Registers this instance as an autoloader.
*
* @param Boolean $prepend Whether to prepend the autoloader or not
+ *
+ * @api
*/
public function register($prepend = false)
{

0 comments on commit 250f88a

Please sign in to comment.