Form.php
public static function file(string $name, array $attributes = null) : string
    {
        // Set the input type
        $attributes['type'] = 'file';

        return Form::input($name, '', $attributes);
    }
public static function file(string $name, array $attributes = null) : string
    {
        // Set the input type
        $attributes['type'] = 'file';

        return Form::input($name, '', $attributes);
    }
public static function file ( string $ name , array $ attributes = null ) : string { // Set the input type $ attributes [ 'type' ] = 'file' ; return Form :: input ( $ name , '' , $ attributes ) ; }
Creates a file upload form input.

echo Form::file('image');

@param string $name       Input name
@param array  $attributes HTML attributes
@return string
Creates a file upload form input .