LFT
  • Namespace
  • Class
  • Tree

Namespaces

  • Docoflow
    • Contracts
    • Entity
    • Facades
    • Models
    • Traits
  • Docolight
    • Agno
      • Traits
    • Container
    • Http
      • Contracts
    • Rest
      • Handler
      • Http
    • Support
      • Debug
      • Traits
  • Docotory
    • Traits
  • None

Classes

  • ActiveRecordWrapper
  • Arr
  • Carbonate
  • ClassLoader
  • Collection
  • CollectionDataProvider
  • Facade
  • Factory
  • Fluent
  • Html
  • IterablePager
  • Repository
  • Set
  • Str

Class Facade

The Facade design pattern is often used when a system is very complex or difficult to understand because the system has a large number of interdependent classes or its source code is unavailable. This pattern hides the complexities of the larger system and provides a simpler interface to the client. It typically involves a single wrapper class which contains a set of members required by client. These members access the system on behalf of the facade client and hide the implementation details.

Direct known subclasses

Docoflow\Facades\Action, Docoflow\Facades\Activity, Docoflow\Facades\Flo, Docoflow\Facades\StateActivity

Abstract
Namespace: Docolight\Support
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docolight/Support/Facade.php

Methods summary

public static mixed
# root( )

Get the root object behind the facade.

Get the root object behind the facade.

Returns

mixed
protected static string
# accessor( )

Get the registered name of the component.

Get the registered name of the component.

Returns

string

Throws

RuntimeException
protected static mixed
# resolve( string $name )

Resolve the facade root instance from the container.

Resolve the facade root instance from the container.

Parameters

$name

Returns

mixed
public static
# clear( string $name )

Clear a resolved facade instance.

Clear a resolved facade instance.

Parameters

$name
public static
# clears( )

Clear all of the resolved instances.

Clear all of the resolved instances.

public static Docolight\Container\Container
# container( )

Get the application instance behind the facade.

Get the application instance behind the facade.

Returns

Docolight\Container\Container

Throws

RuntimeException
public static
# set( Docolight\Container\Container $container )

Set the application instance.

Set the application instance.

Parameters

$container
public static mixed
# __callStatic( string $method, array $args )

Handle dynamic, static calls to the object.

Handle dynamic, static calls to the object.

Parameters

$method
$args

Returns

mixed

Properties summary

protected static Docolight\Container\Container $container

The application instance being facaded.

The application instance being facaded.

#
protected static array $instances

The resolved object instances.

The resolved object instances.

#
LFT API documentation generated by ApiGen