forked from leftypol/leftypol
ThumbGenerator: update
This commit is contained in:
parent
29684043ab
commit
e4087c61c1
2 changed files with 26 additions and 13 deletions
|
@ -11,10 +11,19 @@ interface ThumbGenerator {
|
|||
* Generates a thumbnail from the given file.
|
||||
*
|
||||
* @param string $source_file_path
|
||||
* @param string $source_file_mime
|
||||
* @param string $preferred_out_file_path
|
||||
* @param string $preferred_out_mime
|
||||
* @param int $max_width
|
||||
* @param int $max_height
|
||||
* @return ThumbGenerationResult
|
||||
*/
|
||||
public function generateThumb(string $source_file_path, string $source_file_mime, string $preferred_out_file_path, int $max_width, int $max_height): ThumbGenerationResult;
|
||||
public function generateThumb(
|
||||
string $source_file_path,
|
||||
string $source_file_mime,
|
||||
string $preferred_out_file_path,
|
||||
string $preferred_out_mime,
|
||||
int $max_width,
|
||||
int $max_height
|
||||
): ThumbGenerationResult;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue