Browse Source

added resolving event.

Taylor Otwell 12 years ago
parent
commit
0a24189b0e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      laravel/ioc.php

+ 2 - 0
laravel/ioc.php

@@ -129,6 +129,8 @@ class IoC {
 			static::$singletons[$type] = $object;
 		}
 
+		Event::fire('laravel.resolving', array($type, $object));
+
 		return $object;
 	}