Instance
Table of Contents
- __construct() : mixed
- Create a Wasm\Module\Extern from a `wasm_instance_t` resource.
- exports() : Extern
- inner() : resource
- Return the inner extern resource.
- new() : self
Methods
__construct()
Create a Wasm\Module\Extern from a `wasm_instance_t` resource.
public
__construct( $instance) : mixed
Parameters
Tags
Return values
mixed —exports()
public
exports() : Extern
Return values
Extern —inner()
Return the inner extern resource.
public
inner() : resource
Return values
resource —A wasm_instance_t
resource
new()
public
static new(Store $store, Module $module[, Extern|null $externs = null ]) : self