eate multiple ports as shown in the following example:</p>
<div class="highlight-php"><div class="highlight"><pre><span class="nv">$ports</span> <span class="o">=</span> <span class="nv">$networkingService</span><span class="o">-&gt;</span><span class="na">createPorts</span><span class="p">(</span><span class="k">array</span><span class="p">(</span>
    <span class="k">array</span><span class="p">(</span>
        <span class="s1">&#39;name&#39;</span> <span class="o">=&gt;</span> <span class="s1">&#39;My po