private function resolveAssetPath($asset, $template_file, $token)
{
if (false === ($asset_path = $this->tracker->resolveResourcePath($asset))) {
throw new \RuntimeException(sprintf('The file "%s" referenced in "%s" at line %d could not be resolved.', $asset, $template_file, $token->getLine()));
}
return $asset_path;
}