diff --git a/Extending.md b/05 Extending.md similarity index 95% rename from Extending.md rename to 05 Extending.md index 76b856d..01ad9df 100644 --- a/Extending.md +++ b/05 Extending.md @@ -1,6 +1,6 @@ Flight is designed to be an extensible framework. The framework comes with a set of default methods and components, but it allows you to map your own methods, register your own classes, or even override existing classes and methods. -## Mapping Methods +### Mapping Methods To map your own custom method, you use the `map` function: @@ -12,7 +12,7 @@ To map your own custom method, you use the `map` function: // Call your custom method Flight::hello('Bob'); -## Registering Classes +### Registering Classes To register your own class, you use the `register` function: