LabiciIvan / php-api-nutritional-project

A PHP API nutritional project
0 stars 0 forks source link

Application class process the array parameter #13

Closed LabiciIvan closed 3 months ago

LabiciIvan commented 3 months ago

Description

The primary objective of this task is to refactor the existing Application class to improve the section where it processes the array parameter received from the router.

The array parameter's first element will be a class reference, and the second element will be a string representing a method name.

The class needs to dynamically call the specified method on the class instance.