Top "Phpdoc" questions

phpDocumentor (phpdoc) is an automatic code-documentation tool for PHP, based on Javadoc.

Should I use @return self, this or the current class?

I have a method that return the current object, how do I document this? /** * set something * * @return this */ public function …

php documentation phpdoc doc
Parsing PHP Doc Comments into a Data Structure

I'm using the Reflection API in PHP to pull a DocComment (PHPDoc) string from a method $r = new ReflectionMethod($object); $…

php parsing phpdoc
Can I run a script when I commit to subversion?

I'd like to run a script that builds the documentation for my php project. It is basically just using wget …

svn hook phpdoc
PHPDocumentor 2 and PHP 7 with opcache issues in Doctrine

Hopefully someone here knows a thing or 2 about this. Short Question I am running into an error using phpdoc on …

php phpdoc php-7 opcache phpdocumentor2
How generate phpDoc html from PhpStorm

I've not found how generate html format for phpDoc from PhpStorm IDE. Or should I only use console for this …

phpstorm phpdoc
phpDocumentor - Could not open input file: phpdoc.php

I'm trying to use phpDocumentor (for the first time, I have no idea what I'm doing). Actually, I want to …

php phpdoc sublimetext2
How to update and generate DocBlock for the entire project in PhpStorm?

I have set up code inspection for php doc blocks, so now I will get warning if they are missing …

php phpstorm phpdoc
PHPDoc: Documenting a function with a variable number of arguments

What is the recommended method for documenting a class method that accepts a variable number of arguments? Maybe something like …

php phpdoc
How do I put blocks of PHP code into a PHPDoc DocBlock

I'm playing around with PHPDoc and have realised that you can use markdown to add some formatting to a DocBlock. …

php documentation comments markdown phpdoc
phpdoc standard for setting default value of an optional parameter?

Example: /** * This function will determine whether or not one string starts with another string. * @param string $haystack <p>…

php phpdoc