My server has an MVC architecture. I use PHP implementation of ExtDirect by J. Bruni.

How should I exposure server function using ExtDirect? Should send controllers class to `ExtDirect::provide`?

How can I exclude some method of a class in `ExtDirect::provide`?