laravel/laravel — Issue #385: IoC register forces singletons
Author: JonTheWhite
Created: 2012-03-05 01:39:02+00:00
State: open

In the IoC resolve method, the 'singleton' property is checked using isset() instead of !empty(). Since the register method uses compact, the singleton parameter is always set. This means the only way to have a non-singleton resolver is to manually add it to the static registry array.