so in first part i made 2 object, instantiate two classes (one we generate from createController function)
$loader = new Loader();
$controller = $loader->createController();
$controller->executeAction();
and the method executeAction
code:
public function executeAction() {
return $this->{$this->action}();
}
my question is taking this line of code: $this->{$this->action}()
how this method is called and why use curly braces; Is trying to execute the action();
function of extended class maybe?