Added documentation for the PHP class