Facades
Facades provide a "static" interface to classes that are available in the application's IoC container. Orchestra Platform ships with many facades, and you have probably been using them without even knowing it! Orchestra Platform "facades" serve as "static proxies" to underlying classes in the IoC container, providing the benefit of a terse, expressive syntax while maintaining more testability and flexibility than traditional static methods.
Occasionally, you may wish to create your own facades for your application's and packages, so let's explore the concept, development and usage of these classes.
Class Reference
List of available facades on Orchestra Platform.
Facade | Root Accessor | Service Location | Alias |
---|---|---|---|
Orchestra\Support\Facades\ACL | Orchestra\Authorization\Factory | orchestra.acl | ACL |
Orchestra\Support\Facades\Asset | Orchestra\Asset\Factory | orchestra.asset | Asset |
Orchestra\Support\Facades\Config | Orchestra\Extension\Config\Repository | orchestra.extension.config | - |
Orchestra\Support\Facades\Decorator | Orchestra\View\Decorator | orchestra.decorator | - |
Orchestra\Support\Facades\Extension | Orchestra\Extension\Factory | orchestra.extension | - |
Orchestra\Support\Facades\Form | Orchestra\Html\Form\Factory | orchestra.form | Form |
Orchestra\Support\Facades\Foundation | Orchestra\Foundation\Foundation | orchestra.app | Foundation |
Orchestra\Support\Facades\HTML | Orchestra\Html\HtmlBuilder | html | HTML |
Orchestra\Support\Facades\Mail | Orchestra\Notifier\Mailer | orchestra.mail | Mailer |
Orchestra\Support\Facades\Memory | Orchestra\Memory\MemoryManager | orchestra.memory | Memory |
Orchestra\Support\Facades\Messages | Orchestra\Messages\MessageBag | orchestra.messages | Messages |
Orchestra\Support\Facades\Meta | Orchestra\Foundation\Meta | orchestra.meta | Meta |
Orchestra\Support\Facades\Notifier | Orchestra\Notifier\NotifierManager | orchestra.notifier | Notifier |
Orchestra\Support\Facades\Publisher | Orchestra\Foundation\Publisher\PublisherManager | orchestra.publisher | - |
Orchestra\Support\Facades\Table | Orchestra\Html\Table\Factory | orchestra.table | Table |
Orchestra\Support\Facades\Theme | Orchestra\View\Theme\ThemeManager | orchestra.theme | Theme |
Orchestra\Support\Facades\Widget | Orchestra\Widget\WidgetManager | orchestra.widget | - |
Updated less than a minute ago