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

__construct() public method

단 하나의 파일이나 배열형식의 다중 파일을 전달 받을 수 있다.
public __construct ( string | string[] $files )
$files string | string[] 파일경로
    public function __construct($files)
    {
        $this->location = 'head.append';
        foreach ((array) $files as $file) {
            $file = $this->asset($file);
            $this->files[] = $file;
        }
        // initialization
        $this->attr('type', 'text/css');
        $this->attr('rel', 'stylesheet');
        $this->attr('media', 'all');
    }