Get the final filename for a build. Resolves
theme prefixes and timestamps.
public buildFileName ( |
||
$target | The build target name. | |
return | string | The build filename to cache on disk. |
public function testBuildFileNameTimestampNoValue() { $writer = new AssetWriter(['js' => true, 'css' => false], TMP); $time = time(); $result = $writer->buildFileName($this->target); $this->assertEquals('test.v' . $time . '.js', $result); }