DiscordPHP-Voice Documentation

DecryptorHandle extends NativeHandle
in package

FinalYes

Table of Contents

Properties

$handle  : mixed

Methods

__construct()  : mixed
__destruct()  : mixed
Frees the native handle when this wrapper is garbage-collected.
destroy()  : void
Frees the native handle through libdave. Idempotent — safe to call more than once.
raw()  : mixed
The underlying native handle.
destroyMethod()  : string
The libdave FFI function name that frees this kind of handle.

Properties

Methods

__construct()

public __construct(mixed $handle) : mixed
Parameters
$handle : mixed

The raw libdave native pointer/object this wrapper takes ownership of.

__destruct()

Frees the native handle when this wrapper is garbage-collected.

public __destruct() : mixed

destroy()

Frees the native handle through libdave. Idempotent — safe to call more than once.

public destroy() : void

raw()

The underlying native handle.

public raw() : mixed
Tags
throws
RuntimeException

if the handle has already been destroyed.

destroyMethod()

The libdave FFI function name that frees this kind of handle.

protected destroyMethod() : string
Tags
inheritDoc
Return values
string
On this page

Search results