From 010af05722639eab2762ab57889e1461eef45e32 Mon Sep 17 00:00:00 2001 From: shoully Date: Sat, 20 Dec 2014 06:13:49 -0800 Subject: [PATCH] Updated Extending (markdown) --- Extending.md => 05 Extending.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Extending.md => 05 Extending.md (95%) 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: