diff --git a/README.md b/README.md index 444d0fb..8c824f7 100644 --- a/README.md +++ b/README.md @@ -1166,7 +1166,7 @@ as an object instance. ```php require 'flight/autoload.php'; -$app = new flight\Engine(); +$app = Flight::app(); $app->route('/', function () { echo 'hello world!';