platform/api/symfony/Component/AssetMapper/Compiler/AssetCompilerInterface.yaml

28 lines
1,014 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: AssetCompilerInterface
class_comment: null
dependencies:
- name: AssetMapperInterface
type: class
source: Symfony\Component\AssetMapper\AssetMapperInterface
- name: MappedAsset
type: class
source: Symfony\Component\AssetMapper\MappedAsset
properties: []
methods:
- name: compile
visibility: public
parameters:
- name: content
- name: asset
- name: assetMapper
comment: "# * An asset compiler is responsible for applying any changes to the contents\
\ of an asset.\n# *\n# * @author Ryan Weaver <ryan@symfonycasts.com>\n# */\n#\
\ interface AssetCompilerInterface\n# {\n# public const MISSING_IMPORT_STRICT\
\ = 'strict';\n# public const MISSING_IMPORT_WARN = 'warn';\n# public const MISSING_IMPORT_IGNORE\
\ = 'ignore';\n# \n# public function supports(MappedAsset $asset): bool;\n# \n\
# /**\n# * Applies any changes to the contents of the asset."
traits:
- Symfony\Component\AssetMapper\AssetMapperInterface
- Symfony\Component\AssetMapper\MappedAsset
interfaces: []