Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Namespace support

Exponential now supports **PHP namespaces in extensions**. If used, classes will be referenced with their FQN (Full Qualified Name) in ``var/autoload/ezp_extension.php``

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/4.6/namespace_support.txt

Namespace support
=================

Exponential now supports **PHP namespaces in extensions**.
If used, classes will be referenced with their FQN (Full Qualified Name) in ``var/autoload/ezp_extension.php``

For instance, this class::

    <?php
    namespace My\Custom\Namespace;
    class MyClass {}

Will be referenced like this in the autoload array::

    My\Custom\Namespace\MyClass

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors