Skip to content

Commit

Permalink
Add alias()
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jun 12, 2017
1 parent 9c66cfd commit c5a8eab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Core/Router/RouteString.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ public function id($id)
return $this->addVar('id', $id);
}

/**
* alias
*
* @param string $alias
*
* @return RouteString
*/
public function alias($alias)
{
return $this->addVar('alias', $alias);
}

/**
* page
*
Expand Down

0 comments on commit c5a8eab

Please sign in to comment.