Use ToString class from src/main/php