<span class="o">=</span> <span class="nv">$networkingService</span><span class="o">-&gt;</span><span class="na">getPort</span><span class="p">(</span><span class="s1">&#39;{portId}&#39;</span><span class="p">);</span>
</pre></div>
</div>
<p><a class="reference external" href="https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Networking/get-port.php">Get the executable PHP script for this example</a></p>
</div>
<div class="section" id="update-a-port">
<h2>Update a port<a class="headerl