|
|
@ -1166,7 +1166,7 @@ as an object instance.
|
|
|
|
```php
|
|
|
|
```php
|
|
|
|
require 'flight/autoload.php';
|
|
|
|
require 'flight/autoload.php';
|
|
|
|
|
|
|
|
|
|
|
|
$app = new flight\Engine();
|
|
|
|
$app = Flight::app();
|
|
|
|
|
|
|
|
|
|
|
|
$app->route('/', function () {
|
|
|
|
$app->route('/', function () {
|
|
|
|
echo 'hello world!';
|
|
|
|
echo 'hello world!';
|
|
|
|