App::getPort Usage int App::getPort() Description Return Value The port number that is being requested. Examples Get Port $port = $app->getPort(); See Also getHost getMethod getPath getRequest getUri