45 lines
947 B
YAML
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: []
|