title: get php DateInterval in total 'minutes'
body: <p>I am trying to get the PHP "DateInterval" value in "total minutes" value. How to get it? Seems like simple format("%i minutes") not working? </p>
  
  <p>Here is the sample code:</p>
  
  <pre><code>$test = new \DateTime("48 hours");
  $interval = $test-&gt;diff(new \DateTime());
  </code></pre>
  
  <p>Now if I try to get the interval in total days, its fine:</p>
  
  <pre><code>echo $interval-&gt;format('%a total days');
  </code></pre>
  
  <p>It is showing 2 days as output, which is totally fine. What I am trying to get if to get the value in "total minutes", so I tried:</p>
  
  <pre><code>echo $interval-&gt;format('%i total minutes');
  </code></pre>
  
  <p>Which is not working. Any help appreciated to get my desired output.</p>