I have a file (an xmlrpc library for PHP) that I would like to use into a Symfony2 class (so inside a Symfony2 project).
I can't use autoloader because as written here
I can't use autoloader because as written here
which is able [the autoloader] to load classes from files that implement one of the following conventions:
1) The technical interoperability standards for PHP 5.3 namespaces and class
names;
2) The PEAR naming convention for classes.
If your classes and the third-party libraries you use for your project
follow these standards, the Symfony2 autoloader is the only autoloader
you will ever need.
the class that I'll go to use, didn't satisfies one of those requirements.
So if I can't autoload that file, since isn't possible (as I understand, but I can go wrong) to use
the class that I'll go to use, didn't satisfies one of those requirements.
So if I can't autoload that file, since isn't possible (as I understand, but I can go wrong) to use
require_once
(or simply require
) with namespace
, what is the solution for this issue?
0 Response to "require_once and autoloader how to load flat php"
Post a Comment