Zend Framework changes

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

 



Hi,

In F24+ (ZF 2.5) autoloader register the "Zend" namespace and rely on
PSR-0 tree for dependencies.

With zend_loader 2.5.1-3, each package can add more stuff.

See:
http://pkgs.fedoraproject.org/cgit/rpms/php-zendframework-zend-loader.git/commit/?h=master&id=a5c194b93c018afc877a045829a12c87209fa307

This (planed change, but not done yet) become mandatory to manage new
zend-form version 2.8.2

    "autoload": {
        "psr-4": {
            "Zend\\Form\\": "src/"
        },
        "files": [
            "autoload/formElementManagerPolyfill.php"
        ]
    },

So this new mechanism is used to load this file.

See:
http://pkgs.fedoraproject.org/cgit/rpms/php-zendframework-zend-form.git/commit/?h=master&id=8be05df3bf8103c86b0e30b635f92a4307970c57

So, I plan to use the /usr/share/php/Zend/*autoload.php for dependencies
out of the "Zend" namespace, so "fallback_autoloader" can be disabled in
the future.


Remi.
_______________________________________________
php-devel mailing list
php-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/php-devel@xxxxxxxxxxxxxxxxxxxxxxx




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

  Powered by Linux