$digest,
$isPredigested] =
$this->
getDigest($asset);
$asset =
new MappedAsset( $asset->logicalPath,
$asset->sourcePath,
$asset->publicPathWithoutDigest,
$this->
getPublicPath($asset),
$this->
calculateContent($asset),
$digest,
$isPredigested,
$asset->
getDependencies(),
$asset->
getFileDependencies(),
);
$this->assetsCache
[$logicalPath] =
$asset;
array_pop($this->assetsBeingCreated
);
} return $this->assetsCache
[$logicalPath];
} /**
* Returns an array of "string digest" and "bool predigested".
*
* @return array{0: string, 1: bool}
*/