Download the PHP package neighborhoods/dependency-injection-container-builder without Composer
On this page you can find all versions of the php package neighborhoods/dependency-injection-container-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download neighborhoods/dependency-injection-container-builder
More information about neighborhoods/dependency-injection-container-builder
Files in neighborhoods/dependency-injection-container-builder
Download neighborhoods/dependency-injection-container-builder
More information about neighborhoods/dependency-injection-container-builder
Files in neighborhoods/dependency-injection-container-builder
Vendor neighborhoods
Package dependency-injection-container-builder
Short Description A dependency injection container builder based on Symfony.
License proprietary
Package dependency-injection-container-builder
Short Description A dependency injection container builder based on Symfony.
License proprietary
Please rate this library. Is it a good library?
Informations about the package dependency-injection-container-builder
Neighborhoods Container Builder
Basic example of usage
setContainerBuilder
: the setter takes instance of\Symfony\Component\DependencyInjection\ContainerBuilder
. It's possible to supply non-empty container.setRootPath
: takes the path to the project root (wheresrc
andfab
folders are located)addSourcePath
: takes the path to a folder containing definitions for Container BuildermakePublic
: takes the service URI (usually class name) and makes it publicmakeAllPublic
: makes all services publicaddCompilerPass
: takes instance of\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
and supplies it to theaddCompilerPass
method of ContainerBuilder.build
: creates and returns an instance of\Psr\Container\ContainerInterface
With Cache
If container needs to be cached, a \Neighborhoods\DependencyInjectionContainerBuilderComponent\CacheHandlerInterface
can be supplied through setCacheHandler
.
setName
: takes the name of the cached Container classsetCacheDirPath
: takes the path to directory where container file is going to be stored (absolute)setDebug
: takes a boolean flag whether "debug mode" should be on or off. When debug mode is on, cache is going to "listen" for the changes in source configuration files. If any change is introduced, cache would be considered invalid, and a new one will be generated and stored. It's advised to usetrue
only for development.
All versions of dependency-injection-container-builder with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|^8
psr/container Version ^1.0
symfony/dependency-injection Version ^4
symfony/config Version ^4
symfony/finder Version ^4
symfony/yaml Version ^4
psr/container Version ^1.0
symfony/dependency-injection Version ^4
symfony/config Version ^4
symfony/finder Version ^4
symfony/yaml Version ^4
The package neighborhoods/dependency-injection-container-builder contains the following files
Loading the files please wait ....