WebSocket Events Documentation
TopPHP
Components



Parts
Webhooks

TopPHP\TopPHP
P
$token : string
P
$loadAllData : bool
P
$endpoint : string
P
$exceptions : object
P
$exceptionsList : array
P
$bots : Bots
P
$http : Http
P
$cache : Cache
P
$webhook : Webhook
P
$users : Users

M
__construct() :
M
refreshChildAccessRate() : void
M
exceptionHandler() : bool
M
callableException() : bool
$token
public string $token;
$loadAllData
public bool $loadAllData;
$endpoint
public string $endpoint = 'https://top.gg/api';
$exceptions
public object $exceptions;
$exceptionsList
public array $exceptionsList = [
$bots
public Bots $bots;
$http
public Http $http;
$cache
public Cache $cache;
$webhook
public Webhook $webhook;
$users
public Users $users;
__construct()
__construct( array $configuration )
Parameters
$configuration array :
refreshChildAccessRate()
protected refreshChildAccessRate( ) : void
exceptionHandler()
public exceptionHandler( string $exception , callable $callback ) : bool
Parameters
$exception string :
$callback callable :
callableException()
public callableException( string $exception , array $details ) : bool
Parameters
$exception string :
$details array :


Powered by OxedDocs