Arikaim CMS

StaticFacade
in package

AbstractYes

Facades abstract class

Table of Contents

Properties

$instance  : object|null
Class instance

Methods

__callStatic()  : mixed
Call methods on instance as static
getInstance()  : object|null
Get instance
getInstanceArgs()  : mixed
Get instance args
getInstanceClass()  : string
Return class name used form facade
createInstance()  : object|null
Create instance

Properties

$instance

Class instance

protected static object|null $instance

Methods

__callStatic()

Call methods on instance as static

public static __callStatic(string $method, mixed $args) : mixed
Parameters
$method : string
$args : mixed
Tags
throws
RuntimeException

getInstance()

Get instance

public static getInstance() : object|null
Return values
object|null

getInstanceArgs()

Get instance args

public static getInstanceArgs() : mixed

getInstanceClass()

Return class name used form facade

public abstract static getInstanceClass() : string
Return values
string

createInstance()

Create instance

private static createInstance() : object|null
Return values
object|null

        
On this page

Search results