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