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