Cakephp 3 - Create full url
<p>What I like to do is creating a full url. </p>

<pre><code>Controller = 'A'
Action = 'doSomething'
param1 = $id
param2 = $id2
</code></pre>

<p>What I currently get is: 
mydomain.com/A/doSomething?param1=X&amp;param2=XX</p>

<p>What I want is: 
mydomain.com/A/doSomething/X/XX</p>

<p>Code:</p>

<pre><code>$message = 'Test: '. Router::url([
    "controller" =&gt; "A",
    "action" =&gt; "doSomthing",
    "param1" =&gt; $id,
    "param2" =&gt; $id2,
    '_full' =&gt; true
]);
</code></pre>