title: Microsoft Graph SDK PHP: CreateRequest not working
body: <p>I am trying to use the Microsoft Graph SDK PHP.</p>
  
  <p>I have simple directory with index.php and vendor (created exactly as requested in the related github project: <a href="https://github.com/microsoftgraph/msgraph-sdk-php" rel="nofollow noreferrer">https://github.com/microsoftgraph/msgraph-sdk-php</a>).</p>
  
  <p>My index.php file looks like:</p>
  
  <pre><code>require_once("./vendor/autoload.php");
  
  use Microsoft\Graph\Graph;
  use Microsoft\Graph\Model;
  
  $accessToken = 'xxx'; // Here I would insert the access token
  
  $graph = new Graph();
  $graph-&gt;setAccessToken($accessToken);
  
  // Code that is not working:
  $user = $graph-&gt;createRequest("GET", "/me")
     -&gt;setReturnType(Model\User::class)
     -&gt;execute();
  
  echo "Hello, I am $user-&gt;getGivenName() ";
  </code></pre>
  
  <p>The issue; <strong>createRequest</strong> is not working (the php file stop to be executed)... And I have no idea why, as I have just copied the sample code of the Github project.</p>
  
  <p>What do I do wrong?</p>
  
  <p>Thank you for your help :)</p>