Facade (Support\Facades)

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.

登录查看完整内容