1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 16:14:16 +02:00

Flextype Core: Assets Twig Extension - updates

This commit is contained in:
Awilum
2019-03-04 14:14:24 +03:00
parent f806505f9a
commit fd274fa874

View File

@@ -28,6 +28,11 @@ class AssetsTwigExtension extends \Twig_Extension
];
}
public function add(string $asset_type, string $asset, string $namespace, int $priority = 1) : void
{
return Assets::add($asset_type, $asset, $namespace, $priority);
}
public function get(string $asset_type, string $namespace) : array
{
return Assets::get($asset_type, $namespace);