I am building an API where the user requests a \'command\', which is passed into a class. Assuming the command matches a PUBLIC function, it will execute successfully. If th
You can use the is_callable function to determine if the protection level should limit you: Example: