Im using PHPCPP to speed up components of our SlimPHP api. Is it possible to call a nested namespaced class from PHPCPP with the Php::call method.
Example: Calling the Calculator class located in ./vendor/acme/math/Calculator.php by using Php::call("acme\math\Calculator::increment", 3). As it stands now I can only call classes explicitly defined in the index.php file like this:
Php::call("Calculator::increment", 3)
...despite the vendor classes already being included by the autoloader
Im using PHPCPP to speed up components of our SlimPHP api. Is it possible to call a nested namespaced class from PHPCPP with the Php::call method.
Example: Calling the Calculator class located in ./vendor/acme/math/Calculator.php by using Php::call("acme\math\Calculator::increment", 3). As it stands now I can only call classes explicitly defined in the index.php file like this:
Php::call("Calculator::increment", 3)
...despite the vendor classes already being included by the autoloader