Skip to content

Commit 0a24189

Browse files
committed
added resolving event.
1 parent 14868a5 commit 0a24189

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

laravel/ioc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ public static function resolve($type, $parameters = array())
129129
static::$singletons[$type] = $object;
130130
}
131131

132+
Event::fire('laravel.resolving', array($type, $object));
133+
132134
return $object;
133135
}
134136

0 commit comments

Comments
 (0)