1<?php 2 3/** 4 * League.Uri (https://uri.thephpleague.com) 5 * 6 * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12declare(strict_types=1); 13 14namespace League\Uri\Contracts; 15 16interface PortInterface extends UriComponentInterface 17{ 18 /** 19 * Returns the integer representation of the Port. 20 */ 21 public function toInt(): ?int; 22} 23