After I create a method I use /**<enter>
to generate the DocBlock. It auto fills the @param
and @return
for that function.
Example:
/**
*
* @param type $str
* @return type
*/
public function strlen($str){
return strlen($str);
}
How can I customize the block being generated so that it also fills in the @author
and end up with this after /**<enter>
/**
*
* @param type $str
* @return type
* @author John Doe <[email protected]>
*/
public function strlen($str){
return strlen($str);
}
Thanks
@copyright
and@author
macros when docblocking classes. I'd also suggest@author
'ing the class, rather than each individual method. – Bieber@today
? – Tableau