Returns a new script object, instantiated according to the given arguments.
public static from_location ( string $handle, |
||
$handle | string | The handle. |
$location | Location object. | |
$dependencies | array | Optional. The dependencies. Defaults to empty array. |
$version | string | null | Optional. Version of the file. Defaults to empty string. |
Résultat | static | Script object. |