You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
352 B
15 lines
352 B
<?php namespace Wpstudio\AssetsManifest\Classes;
|
|
|
|
use Wpstudio\Assetsmanifest\Components\Manifest;
|
|
|
|
class TwigFilters
|
|
{
|
|
public static function manifest($assetName): string
|
|
{
|
|
$manifest = app()->get(Manifest::class);
|
|
|
|
assert($manifest instanceof Manifest);
|
|
|
|
return $manifest->getManifestReader()->get($assetName);
|
|
}
|
|
}
|