PHPdocs, prepareUrl method, and refactoring