make method public

In PHP 5.3, it is not possible to call a private method on an object
from inside a callback.