DataStore
class DataStore (View source)
The DataStore class.
Methods
__construct(callable $callback, boolean $shared = false, boolean $protected = false)
Class init.
callable
getCallback()
Method to get property Callback
setCallback(callable $callback)
Method to set property callback
boolean
isShared(boolean $shared = null)
Method to get property Shared
boolean
isProtected(boolean $protected = null)
Method to get property Protected
mixed
getInstance()
Method to get property Instance
setInstance(mixed $instance)
Method to set property instance
Details
at line line 53
__construct(callable $callback, boolean $shared = false, boolean $protected = false)
Class init.
at line line 69
mixed
get(Container $container, boolean $forceNew = false)
Get instance of this DataStore.
at line line 89
callable
getCallback()
Method to get property Callback
at line line 129
boolean
isShared(boolean $shared = null)
Method to get property Shared
at line line 146
boolean
isProtected(boolean $protected = null)
Method to get property Protected
at line line 161
mixed
getInstance()
Method to get property Instance