Make method public so it works with zend

Looks like hhvm didn't have a problem with it.

Change-Id: If08a64ab51abf99b5d2517b86791baaa264980a2
(cherry picked from commit 7503a35c66477adefd0e6af8e2dda9f380e2e8eb)