src/Util/AssetUtil.php
protected function getFilePathFromExtension($file)
    {
        if ($this->extensionsMap) {

            $extension = pathinfo($file, \PATHINFO_EXTENSION);

            if (isset($this->extensionsMap[$extension])) {
                return $this->extensionsMap[$extension] . '/' . $file;
            }
        }

        return $file;
    }
protected function getFilePathFromExtension($file)
    {
        if ($this->extensionsMap) {

            $extension = pathinfo($file, \PATHINFO_EXTENSION);

            if (isset($this->extensionsMap[$extension])) {
                return $this->extensionsMap[$extension] . '/' . $file;
            }
        }

        return $file;
    }
@param $file

@return string