Skip to content

Commit

Permalink
0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Dec 9, 2016
1 parent 0e02576 commit 7be13cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

All Notable changes to `League\Uri\Interfaces` will be documented in this file

## Next
## 0.4.0 - 2016-12-09

### Added

- `League\Uri\Interfaces\PathComponent::isEmpty`
- `League\Uri\Interfaces\Path` replaces `League\Uri\Interfaces\PathComponent`
- `League\Uri\Interfaces\Path::isEmpty`

### Fixed

Expand All @@ -19,6 +20,7 @@ All Notable changes to `League\Uri\Interfaces` will be documented in this file
### Removed

- `League\Uri\Interfaces\CollectionComponent`
- `League\Uri\Interfaces\PathComponent`

## 0.3.0 - 2016-12-01

Expand Down
8 changes: 4 additions & 4 deletions src/PathComponent.php → src/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7be13cf

Please sign in to comment.