Skip to content

1.2.0

Choose a tag to compare

@koriym koriym released this 30 Apr 04:25
· 704 commits to 1.x since this release
b6bacea
  • [FIX] #41
  • [ADD] Lazy modules bindings allows compilation on demand. This improved performance especially large scale binding application.
$injector = new ScriptInjector(
    $tmpDir,
    function () {
        return new CarModule;
    }
);
$car = $injector->getInstance(FakeCar::class);