System\Traits\DependencyMaker

Overview

DependencyMaker is used for DI injection in method calls.


Protected Properties

protected DependencyResolver $dependencyResolver

dependencyResolver for AJAX handlers and controller actions.


Protected Methods

protected makeCallMethod()

protected makeCallMethod($instance, $method, $parameters = []): void

makeCallMethod will prepare method args with DI and call the method