public function getAssetPath(IFile $file, string $formatName): string
    {
        return implode('/', array_filter([
            Type::$folderPrefix[$file->getType()] . '_' . $formatName,
            $file->getModelAlias(),
            mb_substr($file->getHash(), 0, $this->cacheHashLength),
            $this->getAssetName($file),
        ]));
    }
public function getAssetPath(IFile $file, string $formatName): string
    {
        return implode('/', array_filter([
            Type::$folderPrefix[$file->getType()] . '_' . $formatName,
            $file->getModelAlias(),
            mb_substr($file->getHash(), 0, $this->cacheHashLength),
            $this->getAssetName($file),
        ]));
    }
public function getAssetPath ( IFile $ file , string $ formatName ) : string { return implode ( '/' , array_filter ( [ Type :: $ folderPrefix [ $ file -> getType ( ) ] . '_' . $ formatName , $ file -> getModelAlias ( ) , mb_substr ( $ file -> getHash ( ) , 0 , $ this -> cacheHashLength ) , $ this -> getAssetName ( $ file ) , ] ) ) ; }
Returns path in asset filesystem
@param IFile $file
@param string $formatName
@return string
Returns path in asset filesystem