Xpressengine\Presenter\Html\Tags\CSSFile::init PHP Method

init() public static method

init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
public static init ( array $fileList = [], Sorter $sorter = null ) : void
$fileList array js file의 목록
$sorter Xpressengine\Support\Sorter 우선순위 정렬을 위한 sorter
return void
    public static function init($fileList = [], $sorter = null)
    {
        static::$sorter = $sorter === null ? new Sorter() : $sorter;
        static::$fileList = $fileList;
    }