<?php
use JobRouter\AddOn\RestClient\Resource\File;
require_once 'vendor/autoload.php';
$file1 = new File('/path/to/file.pdf');
$file2 = new File('/path/to/file.pdf', 'invoice42.pdf');
$file3 = new File('path/to/file', 'invoice42.pdf', 'application/pdf');