<?php namespace Cms\Classes;

use System\Classes\MediaLibrary as SystemMediaLibrary;

/**
 * Provides abstraction level for the Media Library operations.
 * Implements the library caching features and security checks.
 *
 * @package october\cms
 * @author Alexey Bobkov, Samuel Georges
 * @deprecated Use System\Classes\MediaLibrary. Remove if year >= 2020.
 */
class MediaLibrary extends SystemMediaLibrary
{
    /**
     * Initialize this singleton.
     */
    protected function init()
    {
        traceLog('Class ' . __CLASS__ . ' has been deprecated, use ' . SystemMediaLibrary::class . ' instead.');
        parent::init();
    }
}
