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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user