public function inlineScript($file)
{
$collection = $this->collection();
if (!$collection->contains($file)) {
throw new RuntimeException('Cannot create a script tag for a build that does not exist.');
}
$compiler = $this->factory()->compiler();
$results = $compiler->generate($collection->get($file));
return $this->Html->tag('script', $results);
}