1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/** * Includes */ #include "includes.h" /** * Does some random printing. * @param Php::Parameters */ void MyCustomClass::myMethod(Php::Parameters ¶ms) { cout << "myMethod is called." << endl; cout << "_x: " << _x << endl; _x = params[0]; cout << "New _x" << _x << endl; }