PHP-Deno

JsFile
in package

JsFile is a descriptor for JavaScript files that are loaded as part of the Extension->js_files array. The `code` of `JsFile` is executed when the JsRuntime is initiated.

Table of Contents

Properties

$code  : string
The code for the javascript file
$filename  : string
The filename for the JS file

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $filename, string $code) : mixed
Parameters
$filename : string
$code : string

        
On this page

Search results