Adds design pattern reference for php.