$di = new Phalcon\Di\FactoryDefault();
$di->set("hello", function () {
$ControllerName = '???';
$ActionName = '???';
return $ControllerName.'__'.$ActionName;
});
How can I set the $ControllerName and $ActionName variables?
$di = new Phalcon\Di\FactoryDefault();
$di->set("hello", function () {
$ControllerName = '???';
$ActionName = '???';
return $ControllerName.'__'.$ActionName;
});
How can I set the $ControllerName and $ActionName variables?