forked from leftypol/leftypol
MimeMapMediaHandler.php: add minor doc
This commit is contained in:
parent
298970698e
commit
b28c2b13dd
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ class MimeMapMediaHandler implements MediaHandler {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var callable(string): ?string Maps a mime type to a path to an image to be used as thumbnail, or null if the
|
||||||
|
* mime is not supported.
|
||||||
|
*/
|
||||||
public function __construct(callable $mime_mapper) {
|
public function __construct(callable $mime_mapper) {
|
||||||
$this->mime_mapper = $mime_mapper;
|
$this->mime_mapper = $mime_mapper;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue