Releases: nazg-hack/glue
Releases · nazg-hack/glue
Release for HHVM ^4.64
Release for HHVM ^4.62
1.5.0 added allowed_fixme_codes_strict
Release for HHVM^4.35
1.4.0 updated
Release for HHVM4.25
Feature/patch for hhvm4.25 (#14) * changed inout * Update .travis.yml
Release for HHVM4.14
fixed tests (#13) * fixed tests * Update .travis.yml * Update composer.json
Release for HHVM4.2
1.1.2 Update .gitattributes
added apc cache
1.1.0 added apc cache (#11)
Release for HHVM4.1
1.0.1 changed method (#9)
pre release
New Interface
B.C
use type Nazg\Glue\Container;
use type Nazg\Glue\Scope;
$container = new Container();
$container->bind(AnyInterface::class)
->to(Mock::class)
->in(Scope::PROTOTYPE);
\HH\Asio\join($container->lockAsync());
Binding Serialization Cache
use type Nazg\Glue\ContainerBuilder;
$builder = new ContainerBuilder(true, __DIR__ . '/your/serialized.filename');
// return a \Nazg\Glue\CachedContainer Instance
$container = $builder->make();