Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | class AssetHelper extends Helper |
||
27 | { |
||
28 | /** |
||
29 | * Retrieve `revved` asset name if found in manifest or return canonical asset name otherwise |
||
30 | * |
||
31 | * @param string $name Canonical asset name (un-revved) |
||
32 | * @return string |
||
33 | * @deprecated Deprecated since 1.3.0 Use `AssetsRevisions::get` or `Html` helper methods `script` or `css` directly. |
||
34 | */ |
||
35 | public function get(string $name): string |
||
40 |