Skip to content
Browse files

Update doc string

  • Loading branch information...
1 parent aaefc6a commit 990181dc7814cc3584cbdd6757615887df346dcd @c9s committed Jun 13, 2012
Showing with 11 additions and 3 deletions.
  1. +11 −3 src/Roller/RouteSet.php
View
14 src/Roller/RouteSet.php
@@ -180,10 +180,8 @@ protected function _buildRoute($path,$callback,$options = array() )
}
-
-
-
/**
+ * Add path rule with *ANY* request method
*
* @param string $path
* @param mixed $callback
@@ -201,6 +199,15 @@ public function any($path, $callback, $options = array() )
}
+
+ /**
+ * Path rule Add method,
+ * an alias from any() method
+ *
+ * @param string $path
+ * @param mixed $callback
+ * @param array $options
+ */
public function add($path,$callback,$options = array() )
{
return $this->any( $path, $callback, $options );
@@ -209,6 +216,7 @@ public function add($path,$callback,$options = array() )
/**
* find route by route path
*
+ * @param string $path
*/
public function findRouteByPath( $path )
{

0 comments on commit 990181d

Please sign in to comment.
Something went wrong with that request. Please try again.