Added method phpdoc.