\adminmatrix\swooleTable

Summary

Methods
Properties
Constants
add()
get()
getAll()
__get()
No public properties found
TYPE_INT
TYPE_STRING
TYPE_FLOAT
No protected methods found
$tables
N/A
No private methods found
No private properties found
N/A

Constants

TYPE_INT

TYPE_INT = 1

TYPE_STRING

TYPE_STRING = 3

TYPE_FLOAT

TYPE_FLOAT = 2

Properties

$tables

$tables : array

Registered swoole tables.

Type

array

Methods

add()

add(string  $name, \Swoole\Table  $table) : \adminmatrix\swoole\Table

Add a swoole table to existing tables.

Parameters

string $name
\Swoole\Table $table

Returns

\adminmatrix\swoole\Table —

get()

get(string  $name) : \Swoole\Table

Get a swoole table by its name from existing tables.

Parameters

string $name

Returns

\Swoole\Table —

$table

getAll()

getAll() : array

Get all existing swoole tables.

Returns

array —

__get()

__get(string  $key) : \Swoole\Table

Dynamically access table.

Parameters

string $key

Returns

\Swoole\Table —