mirror of
https://github.com/flextype/flextype.git
synced 2025-08-15 09:34:14 +02:00
feat(bootstrap): add new containers media_folders, media_files, media_folders_meta, media_files_meta #428
This commit is contained in:
@@ -196,13 +196,6 @@ $flextype['entries'] = static function ($container) {
|
||||
return new Entries($container);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add media files service to Flextype container
|
||||
*/
|
||||
$flextype['media_files'] = static function ($container) use ($flextype, $app) {
|
||||
return new MediaFiles($flextype, $app);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add media folders service to Flextype container
|
||||
*/
|
||||
@@ -211,10 +204,10 @@ $flextype['media_folders'] = static function ($container) use ($flextype, $app)
|
||||
};
|
||||
|
||||
/**
|
||||
* Add media files meta service to Flextype container
|
||||
* Add media files service to Flextype container
|
||||
*/
|
||||
$flextype['media_files_meta'] = static function ($container) use ($flextype, $app) {
|
||||
return new MediaFilesMeta($flextype, $app);
|
||||
$flextype['media_files'] = static function ($container) use ($flextype, $app) {
|
||||
return new MediaFiles($flextype, $app);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -224,6 +217,13 @@ $flextype['media_folders_meta'] = static function ($container) use ($flextype, $
|
||||
return new MediaFoldersMeta($flextype, $app);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add media files meta service to Flextype container
|
||||
*/
|
||||
$flextype['media_files_meta'] = static function ($container) use ($flextype, $app) {
|
||||
return new MediaFilesMeta($flextype, $app);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add plugins service to Flextype container
|
||||
*/
|
||||
|
Reference in New Issue
Block a user