api/symfony/Component/AssetMapper/Compiler/AssetCompilerInterface.yaml
2024-09-26 02:03:21 -07:00

27 lines
1,014 B
YAML

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: []