Download the PHP package nazg/glue without Composer
On this page you can find all versions of the php package nazg/glue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor nazg
Package glue
Short Description Dependency Injection Container For HHVM/Hack
License MIT
Homepage https://github.com/nazg-hack/glue
Package glue
Short Description Dependency Injection Container For HHVM/Hack
License MIT
Homepage https://github.com/nazg-hack/glue
Please rate this library. Is it a good library?
Informations about the package glue
Nazg\Glue
Dependency Injection Container For Hack
Requirements
HHVM 4.35.0 and above.
Installation
Composer is the recommended installation method.
To add Nazg\Glue to your project, add the following to your composer.json then re-run composer:
Run Composer commands using HHVM like so:
In addition, you will need to use hhvm-autoload as your autoloader.
or
Usage
First steps
Create Class
Bindings
dependencies will be automatically resolved
Scopes
use the Nazg\Glue\Scope
enum.
enum | |
---|---|
Nazg\Glue\Scope\PROTOTYPE |
single instance |
Nazg\Glue\Scope\SINGLETON |
prototype instance |
Providers
use \Nazg\Glue\ProviderInterface.
Binding Serialization Cache
All versions of glue with dependencies
PHP Build Version
Package Version
Requires
hhvm Version
^4.62
hhvm/hsl Version ^4.0
hhvm/hsl-experimental Version ^4.25
hhvm/hhvm-autoload Version ^3.0
hhvm/hsl Version ^4.0
hhvm/hsl-experimental Version ^4.25
hhvm/hhvm-autoload Version ^3.0
The package nazg/glue contains the following files
Loading the files please wait ....