platform/api/symfony/Component/AssetMapper/ImportMap/JavaScriptImport.yaml

36 lines
825 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: JavaScriptImport
class_comment: null
dependencies: []
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: importName
- name: assetLogicalPath
- name: assetSourcePath
- name: isLazy
default: 'false'
- name: addImplicitlyToImportMap
default: 'false'
comment: '# * Represents a module that was imported by a JavaScript file.
# */
# final class JavaScriptImport
# {
# /**
# * @param string $importName The name of the import needed in the
importmap, e.g. "/foo.js" or "react"
# * @param string $assetLogicalPath Logical path to the mapped ass that
was imported
# * @param bool $addImplicitlyToImportMap Whether this import should be added
to the importmap automatically'
traits: []
interfaces: []