return new GarbageCollector($mediaPositions,
$this->connection,
$this->mediaService
);
} /**
* Return default media-positions
*
* @return MediaPosition[]
*/
private function getDefaultMediaPositions() { return [ new MediaPosition('s_articles_img', 'media_id'
),
new MediaPosition('s_categories', 'mediaID'
),
new MediaPosition('s_emarketing_banners', 'img', 'path'
),
new MediaPosition('s_blog_media', 'media_id'
),
new MediaPosition('s_core_config_mails_attachments', 'mediaID'
),
new MediaPosition('s_filter_values', 'media_id'
),
new MediaPosition('s_emotion_element_value', 'value', 'path'
),
new MediaPosition('s_emotion_element_value', 'value', 'path', MediaPosition::PARSE_JSON
),
new MediaPosition('s_emotion_element_value', 'value', 'path', MediaPosition::PARSE_HTML
),
new MediaPosition('s_articles_downloads', 'filename', 'path'
),
new MediaPosition('s_articles_supplier', 'img', 'path'
),
new MediaPosition('s_core_templates_config_values', 'value', 'path', MediaPosition::PARSE_SERIALIZE
),