32 lines
856 B
YAML
32 lines
856 B
YAML
name: StaticVersionStrategy
|
|
class_comment: '# * Returns the same version for all assets.
|
|
|
|
# *
|
|
|
|
# * @author Fabien Potencier <fabien@symfony.com>'
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: version
|
|
- name: format
|
|
default: 'null'
|
|
comment: "# * Returns the same version for all assets.\n# *\n# * @author Fabien\
|
|
\ Potencier <fabien@symfony.com>\n# */\n# class StaticVersionStrategy implements\
|
|
\ VersionStrategyInterface\n# {\n# private string $format;\n# \n# /**\n# * @param\
|
|
\ string $version Version number\n# * @param string $format Url format"
|
|
- name: getVersion
|
|
visibility: public
|
|
parameters:
|
|
- name: path
|
|
comment: null
|
|
- name: applyVersion
|
|
visibility: public
|
|
parameters:
|
|
- name: path
|
|
comment: null
|
|
traits: []
|
|
interfaces:
|
|
- VersionStrategyInterface
|