@@ -2,7 +2,7 @@ Hack-Router-Codegen [
5+ [ ` hhvm /hack-router` ] ( https://github.com/hhvm /hack-router )
66
77This currently supports generating:
88 - Request routing maps
@@ -18,7 +18,7 @@ Building a Request Router
1818<?hh
1919require_once(__DIR__.'/../vendor/autoload.php');
2020
21- use \FredEmmott \HackRouter\Codegen;
21+ use \Facebook \HackRouter\Codegen;
2222
2323final class UpdateCodegen {
2424 public function main(): void {
@@ -43,8 +43,8 @@ automatically-generated route map, based on the URI patterns in your
4343controllers.
4444
4545` WebController ` is the root controller for your site, and must implement
46- ` FredEmmott \HackRouter\IncludeInUriMap` , which in turn requires
47- ` FredEmmott \HackRouter\HasUriPattern` - for example:
46+ ` Facebook \HackRouter\IncludeInUriMap` , which in turn requires
47+ ` Facebook \HackRouter\HasUriPattern` - for example:
4848
4949``` Hack
5050public static function getUriPattern(): UriPattern {
@@ -66,3 +66,13 @@ otherwise have a circular dependency:
6666 - HHVM will not execute hack code if there are references to undefined classes
6767 - Once you use the codegen, you reference the codegen classes
6868 - ... so you can't build them if you don't already have them
69+
70+ Contributing
71+ ============
72+
73+ We welcome GitHub issues and pull requests - please see CONTRIBUTING.md for details.
74+
75+ License
76+ =======
77+
78+ hack-router-codegen is BSD-licensed. We also provide an additional patent grant.
0 commit comments