Documentation

Facade
in package
implements FacadeInterface

AbstractYes

Base facade class that handles the delegation logic

"Facades" are being removed in version 3.0 of the SDK.

Table of Contents

Interfaces

FacadeInterface
Interface that defines a client facade. Facades are convenient static classes that allow you to run client methods statically on a default instance from the service builder. The facades themselves are aliased into the global namespace for ease of use.

Properties

$serviceBuilder  : Aws

Methods

__callStatic()  : mixed
getClient()  : AwsClientInterface
Returns the instance of the client that the facade operates on
mountFacades()  : mixed
Mounts the facades by extracting information from the service builder config and using creating class aliases

Properties

$serviceBuilder

protected static Aws $serviceBuilder

Methods

__callStatic()

public static __callStatic(mixed $method, mixed $args) : mixed
Parameters
$method : mixed
$args : mixed

mountFacades()

Mounts the facades by extracting information from the service builder config and using creating class aliases

public static mountFacades(Aws $serviceBuilder[, string|null $targetNamespace = null ]) : mixed
Parameters
$serviceBuilder : Aws
$targetNamespace : string|null = null

Namespace that the facades should be mounted to. Defaults to global namespace


        
On this page

Search results