protected function resizeCustom(UploadedFile $file, $callable, $enlarge = true)
    {
        return call_user_func_array($callable, [$file, $this->imagine, $enlarge]);
    }
protected function resizeCustom(UploadedFile $file, $callable, $enlarge = true)
    {
        return call_user_func_array($callable, [$file, $this->imagine, $enlarge]);
    }
protected function resizeCustom ( UploadedFile $ file , $ callable , $ enlarge = true ) { return call_user_func_array ( $ callable , [ $ file , $ this -> imagine , $ enlarge ] ) ; }
Resize an image using a user defined callback.

@param UploadedFile $file
@param              $callable
@param bool         $enlarge

@return \stdClass
Resize an image using a user defined callback .