webchemistry / di-decorator
There is no license information available for the latest version (v1.0) of this package.
v1.0
2019-01-10 19:06 UTC
Requires
- php: >= 7.1
This package is auto-updated.
Last update: 2024-12-11 14:58:05 UTC
README
Usage:
use Nette\DI\CompilerExtension; use WebChemistry\Decorator\Decorator; class CustomExtension extends CompilerExtension { public function beforeCompile() { $decorator = new Decorator($this->getContainerBuilder()); $decorator->decorate(BaseGrid::class) ->addSetup('injectComponents') ->addTags(['tag']); } }