From 1726abd0a5967860eb899534fae26f56370f0b6c Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 23 Oct 2015 09:23:58 +0000 Subject: [PATCH] route : multi now return $this to be chainnable git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2373 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- route.php | 1 + 1 file changed, 1 insertion(+) diff --git a/route.php b/route.php index c1c602a..b020256 100644 --- a/route.php +++ b/route.php @@ -362,6 +362,7 @@ class route { $this->$method ($route, $function); } + return $this; } /** Do the mapping between the url and the route : call the function if