title: Set values in $_POST in Yii2 on request recieved?
body: <p>I am writing a interceptor to validate request and decode data received from POST. After decoding data I have to set data to <code>$_POST</code> so that my all previous writer functionality will work as it is.</p>
  
  <p>I have set values like below</p>
  
  <pre><code>$_POST['amount'] = $data['a'];
  $_POST['currency'] = $data['c'];
  </code></pre>
  
  <p>I am able to get these variables using <code>$_POST</code> but these values are not accessible in <code>Yii::$app-&gt;request-&gt;post()</code></p>
  
  <p><strong>So my question is can I get these values by <code>Yii::$app-&gt;request-&gt;post()</code></strong></p>