Namespaces
Last updated
Last updated
Instead of working with file paths directly, an allows you to work with namespaces which are mapped to specific directories.
With namespaces, and entire applications can be fully self-contained, allowing them to be moved within a filesystem without breaking any of their internal dependencies.
Additionally, namespaces allow developers to use an absolute/global syntax to reference any root namespace defined in the (such as the Module, Layout, and Plugin namespaces). While these namespaces may appear to be absolute/global, they are actually scoped to the environment itself.