PHP Class Altax\Foundation\ModuleFacade

Show file Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Property Type Description
$container see https://github.com/laravel/framework The MIT License (MIT) Copyright (c) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
$resolvedInstance

Public Methods

Method Description
__callStatic ( string $method, array $args ) : mixed Handle dynamic, static calls to the object.
clearResolvedInstance ( string $name ) : void Clear a resolved facade instance.
clearResolvedInstances ( ) : void Clear all of the resolved instances.
getContainer ( ) : Illuminate\Foundation\Application Get the application instance behind the facade.
getModuleName ( ) : string Get the registered name of the component.
setContainer ( $container ) : void Set the application instance.

Protected Methods

Method Description
resolveModuleInstance ( string $name ) : mixed Resolve the facade root instance from the container.

Method Details

__callStatic() public static method

Handle dynamic, static calls to the object.
public static __callStatic ( string $method, array $args ) : mixed
$method string
$args array
return mixed

clearResolvedInstance() public static method

Clear a resolved facade instance.
public static clearResolvedInstance ( string $name ) : void
$name string
return void

clearResolvedInstances() public static method

Clear all of the resolved instances.
public static clearResolvedInstances ( ) : void
return void

getContainer() public static method

Get the application instance behind the facade.
public static getContainer ( ) : Illuminate\Foundation\Application
return Illuminate\Foundation\Application

getModuleName() public static method

Get the registered name of the component.
public static getModuleName ( ) : string
return string

resolveModuleInstance() protected static method

Resolve the facade root instance from the container.
protected static resolveModuleInstance ( string $name ) : mixed
$name string
return mixed

setContainer() public static method

Set the application instance.
public static setContainer ( $container ) : void
return void

Property Details

$container protected static property

see https://github.com/laravel/framework The MIT License (MIT) Copyright (c) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
protected static $container

$resolvedInstance protected static property

protected static $resolvedInstance