-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @author Ignace Nyamagana Butera <[email protected]> | ||
* @since 1.0.0 | ||
*/ | ||
interface PathComponent extends Component | ||
interface Path extends Component | ||
{ | ||
/** | ||
* Returns whether or not the path is empty | ||
|
@@ -45,7 +45,7 @@ public function isEmpty(); | |
public function isAbsolute(); | ||
|
||
/** | ||
* Returns an instance with a leading slash | ||
* Returns a absolute path instance. | ||
* | ||
* This method MUST retain the state of the current instance, and return | ||
* an instance that contains the path component with a leading slash | ||
|
@@ -57,7 +57,7 @@ public function isAbsolute(); | |
public function withLeadingSlash(); | ||
|
||
/** | ||
* Returns an instance without a leading slash | ||
* Returns a rootless path instance. | ||
* | ||
* This method MUST retain the state of the current instance, and return | ||
* an instance that contains the path component without a leading slash | ||
|
@@ -69,7 +69,7 @@ public function withLeadingSlash(); | |
public function withoutLeadingSlash(); | ||
|
||
/** | ||
* Returns an instance without dot segments | ||
* Returns a path instance without dot segments. | ||
* | ||
* This method MUST retain the state of the current instance, and return | ||
* an instance that contains the path component normalized by removing | ||
|