oc-resizer-plugin/compressors/DefaultCompressor.php

28 lines
424 B
PHP
Raw Normal View History

2021-09-09 19:18:41 +02:00
<?php
namespace Aweos\Resizer\Compressors;
class DefaultCompressor extends Compressor {
2021-09-17 13:29:16 +02:00
public function getExtension(): string
{
return '';
}
2021-09-17 17:09:17 +02:00
public function getExtensionRegex(): string
{
return '[a-zA-Z0-9]*';
}
2021-09-09 19:18:41 +02:00
public function make(string $path): array
{
return [];
}
public function shouldGenerateVersions(): bool
{
return false;
}
}