Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Cart
      • Facades
  • None
  • PHP

Classes

  • App
  • Artisan
  • Auth
  • Blade
  • Cache
  • Config
  • Cookie
  • Crypt
  • DB
  • Event
  • Facade
  • File
  • Form
  • Hash
  • HTML
  • Input
  • Lang
  • Log
  • Mail
  • Paginator
  • Password
  • Queue
  • Redirect
  • Redis
  • Request
  • Response
  • Route
  • Schema
  • Session
  • URL
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree

Class Facade

Direct known subclasses

Illuminate\Support\Facades\App, Illuminate\Support\Facades\Artisan, Illuminate\Support\Facades\File, Illuminate\Support\Facades\Form, Illuminate\Support\Facades\Hash, Illuminate\Support\Facades\HTML, Illuminate\Support\Facades\Input, Illuminate\Support\Facades\Lang, Illuminate\Support\Facades\Log, Illuminate\Support\Facades\Mail, Illuminate\Support\Facades\Paginator, Illuminate\Support\Facades\Password, Illuminate\Support\Facades\Auth, Illuminate\Support\Facades\Queue, Illuminate\Support\Facades\Redirect, Illuminate\Support\Facades\Redis, Illuminate\Support\Facades\Request, Illuminate\Support\Facades\Route, Illuminate\Support\Facades\Schema, Illuminate\Support\Facades\Session, Illuminate\Support\Facades\URL, Illuminate\Support\Facades\Validator, Illuminate\Support\Facades\View, Illuminate\Support\Facades\Blade, Laravella\Cart\Facades\DbGopher, Laravella\Cart\Facades\MysqlGopher, Illuminate\Support\Facades\Cache, Illuminate\Support\Facades\Config, Illuminate\Support\Facades\Cookie, Illuminate\Support\Facades\Crypt, Illuminate\Support\Facades\DB, Illuminate\Support\Facades\Event
Abstract
Namespace: Illuminate\Support\Facades
Located at vendor/illuminate/support/Illuminate/Support/Facades/Facade.php
Methods summary
public static
# swap( mixed $instance )

Hotswap the underlying instance behind the facade.

Hotswap the underlying instance behind the facade.

Parameters

$instance
mixed
$instance
public static Mockery\Expectation
# shouldReceive( )

Initiate a mock expectation on the facade.

Initiate a mock expectation on the facade.

Returns

Mockery\Expectation
protected static boolean
# isMock( )

Determines whether a mock is set as the instance of the facade.

Determines whether a mock is set as the instance of the facade.

Returns

boolean
protected static string
# getMockableClass( )

Get the mockable class for the bound instance.

Get the mockable class for the bound instance.

Returns

string
public static mixed
# getFacadeRoot( )

Get the root object behind the facade.

Get the root object behind the facade.

Returns

mixed
protected static string
# getFacadeAccessor( )

Get the registered name of the component.

Get the registered name of the component.

Returns

string
protected static mixed
# resolveFacadeInstance( string $name )

Resolve the facade root instance from the container.

Resolve the facade root instance from the container.

Parameters

$name
string
$name

Returns

mixed
public static
# clearResolvedInstance( string $name )

Clear a resolved facade instance.

Clear a resolved facade instance.

Parameters

$name
string
$name
public static
# clearResolvedInstances( )

Clear all of the resolved instances.

Clear all of the resolved instances.

public static Illuminate\Foundation\Application
# getFacadeApplication( )

Get the application instance behind the facade.

Get the application instance behind the facade.

Returns

Illuminate\Foundation\Application
public static
# setFacadeApplication( Illuminate\Foundation\Application $app )

Set the application instance.

Set the application instance.

Parameters

$app
Illuminate\Foundation\Application
$app
public static mixed
# __callStatic( string $method, array $args )

Handle dynamic, static calls to the object.

Handle dynamic, static calls to the object.

Parameters

$method
string
$method
$args
array
$args

Returns

mixed
Properties summary
protected static Illuminate\Foundation\Application $app
#

The application instance being facaded.

The application instance being facaded.

protected static array $resolvedInstance
#

The resolved object instances.

The resolved object instances.

cart API documentation generated by ApiGen 2.8.0