What am I doing wrong here? When my AbstractHttpResponder class is called, I get an error about uninitialized properties, which should have been set in the constructor and passed into that constructor by Aura.Di.
Here is my container configuration code:
$di->params[Logger::class] = [
'ident' => $ident,
'level' => $logLevel,
'options' => $logOptions,
'facility' => $logFacility,
$di->params[ClxMsg::class] = [
'psr3-log' => $di->lazyGet('cxj/phpsyslog'),
$di->params[AbstractHttpResponder::class] = [
'log' => $di->lazyGet('clx/clxmsg'),
I want to inject an instance of ClxMsg into AbstractHttpResponder. ClxMsg needs an instance of Logger injected into it.
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender or call ClaimLynx at (952) 593-5969.