38 lines
538 B
PHP
38 lines
538 B
PHP
<?php
|
|
|
|
namespace Aweos\Resizer\Compressors;
|
|
|
|
class DefaultCompressor extends Compressor {
|
|
|
|
public function getExtension(): string
|
|
{
|
|
return '';
|
|
}
|
|
|
|
public function getExtensionRegex(): string
|
|
{
|
|
return '[a-zA-Z0-9]*';
|
|
}
|
|
|
|
public function make(string $path): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function shouldGenerateVersions(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function start(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function end(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
}
|