$settings $settings : \ManaPHP\Configuration\SettingsInterface Type \ManaPHP\Configuration\SettingsInterface
$redisCache $redisCache : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$redisBroker $redisBroker : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$coroutineManager $coroutineManager : \ManaPHP\Coroutine\ManagerInterface Type \ManaPHP\Coroutine\ManagerInterface
getInstance() getInstance(string $class, array $params = array()) : mixed Parameters string $class array $params Returns mixed
inject() inject(string $name, mixed $target) : static Parameters string $name mixed $target Returns static
attachEvent() attachEvent(string $event, callable $handler, boolean $appended = true) : static Attach a listener to the events manager Parameters string $event callable $handler boolean $appended Returns static
detachEvent() detachEvent(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
peekEvent() peekEvent(string $group, callable $handler) : static Parameters string $group callable $handler Returns static
fireEvent() fireEvent(string $event, mixed $data = array(), mixed $source = null) : void Fires an event in the events manager causing that the active listeners will be notified about it Parameters string $event mixed $data mixed $source
on() on(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
off() off(string $event = null, callable $handler = null) : static Parameters string $event callable $handler Returns static
destroy() destroy(string $session_id = null) : static Destroys the active session or assigned session Parameters string $session_id Returns static
do_touch() do_touch(string $session_id, integer $ttl) : boolean Parameters string $session_id integer $ttl Returns boolean
do_write() do_write(string $session_id, string $data, integer $ttl) : boolean Parameters string $session_id string $data integer $ttl Returns boolean
get() get(string $name = null, mixed $default = null) : mixed Gets a session variable from an application context Parameters string $name mixed $default Returns mixed
set() set(string $name, mixed $value) : static Sets a session variable in an application context Parameters string $name mixed $value Returns static
has() has(string $name) : boolean Check whether a session variable is set in an application context Parameters string $name Returns boolean
remove() remove(string $name) : static Removes a session variable from an application context Parameters string $name Returns static
write() write(string $session_id, array $data) : static Parameters string $session_id array $data Returns static