{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1765","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1765/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1765/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1765/events","html_url":"https://github.com/slimphp/Slim/pull/1765","id":133082650,"number":1765,"title":"Expose the Router's path builder","user":{"login":"mcaskill","id":29353,"avatar_url":"https://avatars.githubusercontent.com/u/29353?v=3","gravatar_id":"","url":"https://api.github.com/users/mcaskill","html_url":"https://github.com/mcaskill","followers_url":"https://api.github.com/users/mcaskill/followers","following_url":"https://api.github.com/users/mcaskill/following{/other_user}","gists_url":"https://api.github.com/users/mcaskill/gists{/gist_id}","starred_url":"https://api.github.com/users/mcaskill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcaskill/subscriptions","organizations_url":"https://api.github.com/users/mcaskill/orgs","repos_url":"https://api.github.com/users/mcaskill/repos","events_url":"https://api.github.com/users/mcaskill/events{/privacy}","received_events_url":"https://api.github.com/users/mcaskill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-11T20:40:49Z","updated_at":"2016-02-12T17:16:39Z","closed_at":"2016-02-12T17:16:39Z","pull_request":{"url":"https://api.github.com/repos/slimphp/Slim/pulls/1765","html_url":"https://github.com/slimphp/Slim/pull/1765","diff_url":"https://github.com/slimphp/Slim/pull/1765.diff","patch_url":"https://github.com/slimphp/Slim/pull/1765.patch"},"body":"This allows paths to be built from arbitrary routes or delegate complex patterns to other objects.\r\n\r\nUseful for application's with flexible/catch-all routes like a hierarchical page system or for named routes that need to be language-locked, e.g.: `{slug:projet|fr/projet|project|en/project}/{id}`.\r\n\r\n```php\r\n$url = $container['router']->parseRoutePattern(\r\n\t'fr/projet/{id}',\r\n\t[\r\n\t\t'id' => 'mon-profile-geek'\r\n\t]\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/183418260","html_url":"https://github.com/slimphp/Slim/pull/1765#issuecomment-183418260","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1765","id":183418260,"user":{"login":"mcaskill","id":29353,"avatar_url":"https://avatars.githubusercontent.com/u/29353?v=3","gravatar_id":"","url":"https://api.github.com/users/mcaskill","html_url":"https://github.com/mcaskill","followers_url":"https://api.github.com/users/mcaskill/followers","following_url":"https://api.github.com/users/mcaskill/following{/other_user}","gists_url":"https://api.github.com/users/mcaskill/gists{/gist_id}","starred_url":"https://api.github.com/users/mcaskill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcaskill/subscriptions","organizations_url":"https://api.github.com/users/mcaskill/orgs","repos_url":"https://api.github.com/users/mcaskill/repos","events_url":"https://api.github.com/users/mcaskill/events{/privacy}","received_events_url":"https://api.github.com/users/mcaskill/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T17:16:39Z","updated_at":"2016-02-12T17:16:39Z","body":"Reviewing my application, indeed this was a silly proposition.\r\n\r\nKeep up the great work with the framework!"}}