3.3 documentation

  1. Introduction
  2. Class Reference

Introduction

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.

Alias Facade Root Accessor Service Location
ACL Orchestra\Support\Facades\ACL Orchestra\Authorization\Factory orchestra.acl
Asset Orchestra\Support\Facades\Asset Orchestra\Asset\Factory orchestra.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
Form Orchestra\Support\Facades\Form Orchestra\Html\Form\Factory orchestra.form
Foundation Orchestra\Support\Facades\Foundation Orchestra\Foundation\Foundation orchestra.app
HTML Orchestra\Support\Facades\HTML Orchestra\Html\HtmlBuilder html
Mailer Orchestra\Support\Facades\Mail Orchestra\Notifier\Mailer orchestra.mail
Memory Orchestra\Support\Facades\Memory Orchestra\Memory\MemoryManager orchestra.memory
Messages Orchestra\Support\Facades\Messages Orchestra\Messages\MessageBag orchestra.messages
Meta Orchestra\Support\Facades\Meta Orchestra\Foundation\Meta orchestra.meta
Notifier Orchestra\Support\Facades\Notifier Orchestra\Notifier\NotifierManager orchestra.notifier
- Orchestra\Support\Facades\Publisher Orchestra\Foundation\Publisher\PublisherManager orchestra.publisher
Table Orchestra\Support\Facades\Table Orchestra\Html\Table\Factory orchestra.table
Theme Orchestra\Support\Facades\Theme Orchestra\View\Theme\ThemeManager orchestra.theme
- Orchestra\Support\Facades\Widget Orchestra\Widget\WidgetManager orchestra.widget