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

45 lines
947 B
YAML

name: AssetMapperInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: getAsset
visibility: public
parameters:
- name: logicalPath
comment: '# * Finds and returns assets in the pipeline.
# *
# * @author Ryan Weaver <ryan@symfonycasts.com>
# */
# interface AssetMapperInterface
# {
# /**
# * Given the logical path (e.g. path relative to a mapped directory), return
the asset.'
- name: allAssets
visibility: public
parameters: []
comment: '# * Returns all mapped assets.
# *
# * @return iterable<MappedAsset>'
- name: getAssetFromSourcePath
visibility: public
parameters:
- name: sourcePath
comment: '# * Fetches the asset given its source path (i.e. filesystem path).'
- name: getPublicPath
visibility: public
parameters:
- name: logicalPath
comment: '# * Returns the public path for this asset, if it can be found.'
traits: []
interfaces: []