for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Subreality\Dilmun\Anshar\Http\UriParts;
/**
* Class Path
* @package Subreality\Dilmun\Anshar\Http\UriParts
*/
class Path extends AbstractUriPart
{
protected static $unencoded_characters = array();
protected static $compositions = array();
protected static $part_pattern;
* Host constructor. Accepts a string representing a URI host component. Construction will throw an exception if
* the host is not a string.
*
* path-abempty = *( "/" segment )
* path-absolute = "/" [ segment-nz *( "/" segment ) ]
* path-noscheme = segment-nz-nc *( "/" segment )
* path-rootless = segment-nz *( "/" segment )
* path-empty = 0<pchar>
* segment = *pchar
* segment-nz = 1*pchar
* segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
* ; non-zero-length segment without any colon ":"
* pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
* @param string $path
public function __construct($path)
parent::__construct($path, "Path");
}