1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

feat(helpers): add new helper images

This commit is contained in:
Awilum
2021-08-11 12:06:45 +03:00
parent ea6b18c9ac
commit 7c332edd6c

View File

@@ -265,6 +265,16 @@ if (! function_exists('filter')) {
}
}
if (! function_exists('images')) {
/**
* Get Flextype Images Service.
*/
function images()
{
return flextype()->container()->get('images');
}
}
if (! function_exists('image')) {
/**
* Create a new image instance.