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

feat(media): add media helper #564

This commit is contained in:
Awilum
2021-08-05 21:32:14 +03:00
parent 7ffbb57a01
commit bb7af315a5

View File

@@ -66,6 +66,15 @@ if (! function_exists('content')) {
}
}
if (! function_exists('media')) {
/**
* Get Flextype Media Service.
*/
function media() {
return flextype()->container()->get('media');
}
}
if (! function_exists('parsers')) {
/**
* Get Flextype Parsers Service.