classes/Observers/ValidateExistingFiles.php
public function makeFileFromPath($path)
    {
        $upchuck_path = app('upchuck')->path($path);
        $absolute_path = config('upchuck.disk.path').'/'.$upchuck_path;
        return new UploadedFile(
            $absolute_path, basename($absolute_path),
            null, null, // Default mime and error
            true); // Enable test mode so local file will be pass as uploaded
    }
public function makeFileFromPath($path)
    {
        $upchuck_path = app('upchuck')->path($path);
        $absolute_path = config('upchuck.disk.path').'/'.$upchuck_path;
        return new UploadedFile(
            $absolute_path, basename($absolute_path),
            null, null, // Default mime and error
            true); // Enable test mode so local file will be pass as uploaded
    }
public function makeFileFromPath ( $ path ) { $ upchuck_path = app ( 'upchuck' ) -> path ( $ path ) ; $ absolute_path = config ( 'upchuck.disk.path' ) . '/' . $ upchuck_path ; return new UploadedFile ( $ absolute_path , basename ( $ absolute_path ) , null , null , // Default mime and error true ) ; // Enable test mode so local file will be pass as uploaded }
Make an UploadedFile instance using Upchuck from the string input value

@param string $path
@return UploadedFile
Make an UploadedFile instance using Upchuck from the string input value