added event firing when bundle is started.

This commit is contained in:
Taylor Otwell
2012-01-30 13:18:33 -06:00
parent 363632165c
commit b5f9f9bd9a
2 changed files with 3 additions and 0 deletions

View File

@@ -87,6 +87,8 @@ class Bundle {
// start script for reverse routing efficiency purposes.
static::routes($bundle);
Event::fire("started: {$bundle}");
static::$started[] = strtolower($bundle);
}