Updated Extending (markdown)

master
shoully 11 years ago
parent 70c499cc57
commit 010af05722

@ -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:
Loading…
Cancel
Save