remi-san / sf-di-tools
A set of tools for symfony DI
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/remi-san/sf-di-tools
Requires
- symfony/config: ^3.0
- symfony/dependency-injection: ^3.0
- symfony/yaml: ^3.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.10
- mockery/mockery: ^0.9
- phpunit/phpunit: ^4.5
- squizlabs/php_codesniffer: ~2.0
This package is auto-updated.
Last update: 2025-10-22 01:00:18 UTC
README
Providing easy-to-use tools for symfony
Content
This lib provides the following util classes:
YamlCachedContainerBuilderallows to manage cachedSymfony Dependency Injectorcontainer withYAMLconfig files easily.
Usage example
YamlCachedContainerBuilder
$cacheBuilder = new YamlCachedContainerBuilder('path/to/cache/dir', false); $container = $cacheBuilder->build('path/to/config/dir', 'root-config-file.yml', 'MyCachedContainer', 'MyProject\\Cache');