初始化代码
This commit is contained in:
58
vendor/swoole/ide-helper/output/swoole_async/namespace/Async.php
vendored
Normal file
58
vendor/swoole/ide-helper/output/swoole_async/namespace/Async.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class Async
|
||||
{
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function read($filename, $callback, $chunk_size = null, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function write($filename, $content, $offset = null, $callback = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function readFile($filename, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function writeFile($filename, $content, $callback = null, $flags = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function dnsLookup($hostname, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function set(array $settings)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function exec($command, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
186
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/Client.php
vendored
Normal file
186
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/Client.php
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\Async;
|
||||
|
||||
class Client
|
||||
{
|
||||
|
||||
const MSG_OOB = 1;
|
||||
|
||||
const MSG_PEEK = 2;
|
||||
|
||||
const MSG_DONTWAIT = 64;
|
||||
|
||||
const MSG_WAITALL = 256;
|
||||
|
||||
const SHUT_RDWR = 2;
|
||||
|
||||
const SHUT_RD = 0;
|
||||
|
||||
const SHUT_WR = 1;
|
||||
|
||||
public $errCode = 0;
|
||||
|
||||
public $sock = -1;
|
||||
|
||||
public $type = 0;
|
||||
|
||||
public $setting = null;
|
||||
|
||||
private $onConnect = null;
|
||||
|
||||
private $onError = null;
|
||||
|
||||
private $onReceive = null;
|
||||
|
||||
private $onClose = null;
|
||||
|
||||
private $onBufferFull = null;
|
||||
|
||||
private $onBufferEmpty = null;
|
||||
|
||||
private $onSSLReady = null;
|
||||
|
||||
public function __construct($type)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function set(array $settings)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function connect($host, $port = null, $timeout = null, $sock_flag = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function send($data, $flag = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function sendfile($filename, $offset = null, $length = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function sendto($ip, $port, $data)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function sleep()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function wakeup()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function pause()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function resume()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function shutdown($how)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function enableSSL(callable $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getPeerCert()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function verifyPeerCert()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function isConnected()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getsockname()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getpeername()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close($force = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, callable $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getSocket()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
162
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/http/client.php
vendored
Normal file
162
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/http/client.php
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\Http;
|
||||
|
||||
class Client
|
||||
{
|
||||
|
||||
public $type = 0;
|
||||
|
||||
public $errCode = 0;
|
||||
|
||||
public $errMsg = '';
|
||||
|
||||
public $statusCode = 0;
|
||||
|
||||
public $host = null;
|
||||
|
||||
public $port = 0;
|
||||
|
||||
public $ssl = false;
|
||||
|
||||
public $requestMethod = null;
|
||||
|
||||
public $requestHeaders = null;
|
||||
|
||||
public $requestBody = null;
|
||||
|
||||
public $uploadFiles = null;
|
||||
|
||||
public $set_cookie_headers = null;
|
||||
|
||||
public $downloadFile = null;
|
||||
|
||||
public $headers = null;
|
||||
|
||||
public $cookies = null;
|
||||
|
||||
public $body = null;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onError = null;
|
||||
|
||||
public $onMessage = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public function __construct($host, $port = null, $ssl = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function set(array $settings)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setMethod($method)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setHeaders(array $headers)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setCookies(array $cookies)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function addFile($path, $name, $type = null, $filename = null, $offset = null, $length = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function execute($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($data, $opcode = null, $finish = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function post($path, $data, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function upgrade($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function download($path, $file, $callback, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function isConnected()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
114
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/mysql.php
vendored
Normal file
114
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/mysql.php
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class MySQL
|
||||
{
|
||||
|
||||
const STATE_QUERY = 0;
|
||||
|
||||
const STATE_READ_START = 1;
|
||||
|
||||
const STATE_READ_FIELD = 2;
|
||||
|
||||
const STATE_READ_ROW = 3;
|
||||
|
||||
const STATE_READ_END = 5;
|
||||
|
||||
const STATE_CLOSED = 6;
|
||||
|
||||
public $serverInfo = null;
|
||||
|
||||
public $sock = -1;
|
||||
|
||||
public $connected = false;
|
||||
|
||||
public $errno = 0;
|
||||
|
||||
public $connect_errno = 0;
|
||||
|
||||
public $error = null;
|
||||
|
||||
public $connect_error = null;
|
||||
|
||||
public $insert_id = null;
|
||||
|
||||
public $affected_rows = null;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function connect(array $server_config, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function begin($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function commit($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function rollback($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function escape($string, $flags = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function query($sql, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
80
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/redis.php
vendored
Normal file
80
vendor/swoole/ide-helper/output/swoole_async/namespace/Async/redis.php
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class Redis
|
||||
{
|
||||
|
||||
const STATE_CONNECT = 0;
|
||||
|
||||
const STATE_READY = 1;
|
||||
|
||||
const STATE_WAIT_RESULT = 2;
|
||||
|
||||
const STATE_SUBSCRIBE = 3;
|
||||
|
||||
const STATE_CLOSED = 4;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public $onMessage = null;
|
||||
|
||||
public $setting = null;
|
||||
|
||||
public $host = null;
|
||||
|
||||
public $port = null;
|
||||
|
||||
public $sock = null;
|
||||
|
||||
public $errCode = null;
|
||||
|
||||
public $errMsg = null;
|
||||
|
||||
public function __construct(?array $setting = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function connect($host, $port, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($command, $params)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
45
vendor/swoole/ide-helper/output/swoole_async/namespace/Channel.php
vendored
Normal file
45
vendor/swoole/ide-helper/output/swoole_async/namespace/Channel.php
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class Channel
|
||||
{
|
||||
|
||||
public function __construct($size)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($data)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function pop()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function peek()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function stats()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
162
vendor/swoole/ide-helper/output/swoole_async/namespace/Http/Client.php
vendored
Normal file
162
vendor/swoole/ide-helper/output/swoole_async/namespace/Http/Client.php
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\Http;
|
||||
|
||||
class Client
|
||||
{
|
||||
|
||||
public $type = 0;
|
||||
|
||||
public $errCode = 0;
|
||||
|
||||
public $errMsg = '';
|
||||
|
||||
public $statusCode = 0;
|
||||
|
||||
public $host = null;
|
||||
|
||||
public $port = 0;
|
||||
|
||||
public $ssl = false;
|
||||
|
||||
public $requestMethod = null;
|
||||
|
||||
public $requestHeaders = null;
|
||||
|
||||
public $requestBody = null;
|
||||
|
||||
public $uploadFiles = null;
|
||||
|
||||
public $set_cookie_headers = null;
|
||||
|
||||
public $downloadFile = null;
|
||||
|
||||
public $headers = null;
|
||||
|
||||
public $cookies = null;
|
||||
|
||||
public $body = null;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onError = null;
|
||||
|
||||
public $onMessage = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public function __construct($host, $port = null, $ssl = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function set(array $settings)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setMethod($method)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setHeaders(array $headers)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setCookies(array $cookies)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function addFile($path, $name, $type = null, $filename = null, $offset = null, $length = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function execute($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($data, $opcode = null, $finish = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function post($path, $data, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function upgrade($path, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function download($path, $file, $callback, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function isConnected()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
34
vendor/swoole/ide-helper/output/swoole_async/namespace/Memory/Pool.php
vendored
Normal file
34
vendor/swoole/ide-helper/output/swoole_async/namespace/Memory/Pool.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\Memory;
|
||||
|
||||
class Pool
|
||||
{
|
||||
|
||||
const TYPE_RING = 1;
|
||||
|
||||
const TYPE_GLOBAL = 2;
|
||||
|
||||
const TYPE_FIXED = 0;
|
||||
|
||||
const TYPE_MALLOC = 3;
|
||||
|
||||
const TYPE_EMALLOC = 4;
|
||||
|
||||
public function __construct($size, $type, $slice_size = null, $shared = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function alloc($size = null)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
27
vendor/swoole/ide-helper/output/swoole_async/namespace/Memory/Pool/Slice.php
vendored
Normal file
27
vendor/swoole/ide-helper/output/swoole_async/namespace/Memory/Pool/Slice.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\Memory\Pool;
|
||||
|
||||
class Slice
|
||||
{
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function read($size = null, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function write($data, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
16
vendor/swoole/ide-helper/output/swoole_async/namespace/Mmap.php
vendored
Normal file
16
vendor/swoole/ide-helper/output/swoole_async/namespace/Mmap.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class Mmap
|
||||
{
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public static function open($filename, $size = null, $offset = null)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
52
vendor/swoole/ide-helper/output/swoole_async/namespace/MsgQueue.php
vendored
Normal file
52
vendor/swoole/ide-helper/output/swoole_async/namespace/MsgQueue.php
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class MsgQueue
|
||||
{
|
||||
|
||||
public function __construct($len)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($data, $type = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function pop($type = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function setBlocking($blocking)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function stats()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
114
vendor/swoole/ide-helper/output/swoole_async/namespace/MySQL.php
vendored
Normal file
114
vendor/swoole/ide-helper/output/swoole_async/namespace/MySQL.php
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class MySQL
|
||||
{
|
||||
|
||||
const STATE_QUERY = 0;
|
||||
|
||||
const STATE_READ_START = 1;
|
||||
|
||||
const STATE_READ_FIELD = 2;
|
||||
|
||||
const STATE_READ_ROW = 3;
|
||||
|
||||
const STATE_READ_END = 5;
|
||||
|
||||
const STATE_CLOSED = 6;
|
||||
|
||||
public $serverInfo = null;
|
||||
|
||||
public $sock = -1;
|
||||
|
||||
public $connected = false;
|
||||
|
||||
public $errno = 0;
|
||||
|
||||
public $connect_errno = 0;
|
||||
|
||||
public $error = null;
|
||||
|
||||
public $connect_error = null;
|
||||
|
||||
public $insert_id = null;
|
||||
|
||||
public $affected_rows = null;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function connect(array $server_config, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function begin($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function commit($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function rollback($callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function escape($string, $flags = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function query($sql, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
9
vendor/swoole/ide-helper/output/swoole_async/namespace/MySQL/Exception.php
vendored
Normal file
9
vendor/swoole/ide-helper/output/swoole_async/namespace/MySQL/Exception.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole\MySQL;
|
||||
|
||||
class Exception extends \Swoole\Exception
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
80
vendor/swoole/ide-helper/output/swoole_async/namespace/Redis.php
vendored
Normal file
80
vendor/swoole/ide-helper/output/swoole_async/namespace/Redis.php
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class Redis
|
||||
{
|
||||
|
||||
const STATE_CONNECT = 0;
|
||||
|
||||
const STATE_READY = 1;
|
||||
|
||||
const STATE_WAIT_RESULT = 2;
|
||||
|
||||
const STATE_SUBSCRIBE = 3;
|
||||
|
||||
const STATE_CLOSED = 4;
|
||||
|
||||
public $onConnect = null;
|
||||
|
||||
public $onClose = null;
|
||||
|
||||
public $onMessage = null;
|
||||
|
||||
public $setting = null;
|
||||
|
||||
public $host = null;
|
||||
|
||||
public $port = null;
|
||||
|
||||
public $sock = null;
|
||||
|
||||
public $errCode = null;
|
||||
|
||||
public $errMsg = null;
|
||||
|
||||
public function __construct(?array $setting = null)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function on($event_name, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function connect($host, $port, $callback)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function close()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($command, $params)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
52
vendor/swoole/ide-helper/output/swoole_async/namespace/RingQueue.php
vendored
Normal file
52
vendor/swoole/ide-helper/output/swoole_async/namespace/RingQueue.php
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Swoole;
|
||||
|
||||
class RingQueue
|
||||
{
|
||||
|
||||
public function __construct($len)
|
||||
{
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($data)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function pop()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function count()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function isFull()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function isEmpty()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user