ZendFramework: switch fedora/autoloader WIP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I start switching all ZF packages from zend-loader to fedora/autoloader
(using a classmap) in rawhide.

As I drop dependency on zend-loader, this mean if you rely on
/usr/share/php/Zend/autoload.php you have to explicitly requires
zend-loader (which provide it).

When all packages will be ready, you should be able to only use the
needed components autoloaders (thus reducing to minimal needed autoloader)

As this will be a quite long process, I recommend you keep the main
autoloader as a fallback.

Example:


\Fedora\Autoloader\Dependencies::required([
    [
        '/usr/share/php/Zend/Cache/autoload.php',
        '/usr/share/php/Zend/autoload.php',
    ], [
        '/usr/share/php/Zend/I18n/autoload.php',
        '/usr/share/php/Zend/autoload.php',
    ], [
        '/usr/share/php/Zend/Serializer/autoload.php',
        '/usr/share/php/Zend/autoload.php',
    ],
]);




Remi
_______________________________________________
php-devel mailing list -- php-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to php-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux