78 lines
2.3 KiB
YAML
78 lines
2.3 KiB
YAML
|
name: MappedAsset
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: JavaScriptImport
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\JavaScriptImport
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: logicalPath
|
||
|
- name: sourcePath
|
||
|
default: 'null'
|
||
|
- name: publicPathWithoutDigest
|
||
|
default: 'null'
|
||
|
- name: publicPath
|
||
|
default: 'null'
|
||
|
- name: content
|
||
|
default: 'null'
|
||
|
- name: digest
|
||
|
default: 'null'
|
||
|
- name: isPredigested
|
||
|
default: 'null'
|
||
|
- name: isVendor
|
||
|
default: 'false'
|
||
|
- name: dependencies
|
||
|
default: '[]'
|
||
|
- name: fileDependencies
|
||
|
default: '[]'
|
||
|
- name: javaScriptImports
|
||
|
default: '[]'
|
||
|
comment: "# * Represents a single asset in the asset mapper system.\n# *\n# * @author\
|
||
|
\ Ryan Weaver <ryan@symfonycasts.com>\n# */\n# final class MappedAsset\n# {\n\
|
||
|
# public readonly string $sourcePath;\n# public readonly string $publicPath;\n\
|
||
|
# public readonly string $publicPathWithoutDigest;\n# public readonly string $publicExtension;\n\
|
||
|
# \n# /**\n# * The final content of this asset if different from the sourcePath.\n\
|
||
|
# *\n# * If null, the content should be read from the sourcePath.\n# */\n# public\
|
||
|
\ readonly ?string $content;\n# \n# public readonly string $digest;\n# public\
|
||
|
\ readonly bool $isPredigested;\n# \n# /**\n# * @param MappedAsset[] $dependencies\
|
||
|
\ assets that the content of this asset depends on\n# * @param string[] \
|
||
|
\ $fileDependencies files that the content of this asset depends on\n\
|
||
|
# * @param JavaScriptImport[] $javaScriptImports"
|
||
|
- name: getDependencies
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Assets that the content of this asset depends on - for internal caching.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return MappedAsset[]'
|
||
|
- name: addDependency
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: asset
|
||
|
comment: null
|
||
|
- name: getFileDependencies
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return string[]'
|
||
|
- name: addFileDependency
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: sourcePath
|
||
|
comment: null
|
||
|
- name: getJavaScriptImports
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return JavaScriptImport[]'
|
||
|
- name: addJavaScriptImport
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: import
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\AssetMapper\ImportMap\JavaScriptImport
|
||
|
interfaces: []
|