MatthiasMullie\Minify\Minify::load PHP Method

load() protected method

Load data.
protected load ( string $data ) : string
$data string Either a path to a file or the content itself
return string
    protected function load($data)
    {
        // check if the data is a file
        if ($this->canImportFile($data)) {
            $data = file_get_contents($data);
            // strip BOM, if any
            if (substr($data, 0, 3) == "") {
                $data = substr($data, 3);
            }
        }
        return $data;
    }