changing method visibility

Signed-off-by: Natalia Bartol <natalia.b@zend.com>