Change phpdoc of class ClassLoader add -> addPrefix #3

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
View
@@ -19,8 +19,8 @@
* $loader = new ClassLoader();
*
* // register classes with namespaces
- * $loader->add('Symfony\Component', __DIR__.'/component');
- * $loader->add('Symfony', __DIR__.'/framework');
+ * $loader->addPrefix('Symfony\Component', __DIR__.'/component');
+ * $loader->addPrefix('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();