Wasmer PHP

Extern

Table of Contents

__construct()  : mixed
Create a Wasm\Module\Extern from a `wasm_extern_t` resource.
asFunc()  : Func
asGlobal()  : Globl
inner()  : resource
Return the inner extern resource.
kind()  : int
type()  : ExternType

Methods

__construct()

Create a Wasm\Module\Extern from a `wasm_extern_t` resource.

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

resource a wasm_extern_t resource

Tags
throws
InvalidArgumentException

If the $extern argument is not a valid wasm_extern_t resource

Return values
mixed

inner()

Return the inner extern resource.

public inner() : resource
Return values
resource

A wasm_extern_t resource

kind()

public kind() : int
Return values
int

Search results