$accessToken
$accessToken : string
A valid access token
Class GraphCollectionRequest
__construct(string $requestType, string $endpoint, string $accessToken, string $baseUrl, string $apiVersion)
Constructs a new GraphCollectionRequest object
| string | $requestType | The HTTP verb for the request ("GET", "POST", "PUT", etc.) | 
| string | $endpoint | The URI of the endpoint to hit | 
| string | $accessToken | A valid access token | 
| string | $baseUrl | The base URL of the request | 
| string | $apiVersion | The version of the API to call | 
upload(string $path, mixed $client = null) : \Microsoft\Graph\Http\An
Upload a file to OneDrive from a given location
| string | $path | The path of the file to upload | 
| mixed | $client | The client to use in the request | 
object or array of objects (DriveItems)
processPageCallReturn(\Microsoft\Graph\Http\GraphResponse  $response) : \Microsoft\Graph\Http\The
                Clean up after making a page call request
| \Microsoft\Graph\Http\GraphResponse | $response | The GraphResponse returned after making a page call | 
result of the call, formatted according to the returnType set by the user