Facade

Facade

class Facade (View source)

Methods

static void swap(mixed $instance)

Hotswap the underlying instance behind the facade.

static void spy()

Convert the facade into a Mockery spy.

static Expectation shouldReceive()

Initiate a mock expectation on the facade.

static mixed getFacadeRoot()

Get the root object behind the facade.

static void clearResolvedInstance(string $name)

Clear a resolved facade instance.

static void clearResolvedInstances()

Clear all of the resolved instances.

static Application getFacadeApplication()

Get the application instance behind the facade.

static void setFacadeApplication(Application $app)

Set the application instance.

static mixed __callStatic(string $method, array $args)

Handle dynamic, static calls to the object.

doc_Laravel
2016-11-02 16:17:39
Comments
Leave a Comment

Please login to continue.