$adapters
$adapters :
Base Audio adapter
adapterFor(array $file, string $path) : mixed
Locate the first adapter that's able to handle a file.
Each adapter determines its ability to handle a particular file
array | $file | JSON file information |
string | $path | Temp file path |
Adapter instance if found, false otherwise
toImage(array $size = array(), string $path = false) : string
Convert to preview image
Return NULL if not possible
Size array MUST allow for either height and/or width to be set without flipping the heck out.
Keep in mind the return string path is temporary and should be processed accordingly
array | $size | dims |
string | $path | source path |
output path