How to properly use PHPdoc to document labels in a class, as shown in the example below - what is proper use?
class myClass { /** * @return myClass */ function one() { return $this; } /** * @return self */ function two() { return $this; } /** * @return $this */ function three() { return $this; } }
/** * @return myClass */
I am not an expert phpDoc, but how do they do it in the framework of Zend. Therefore, I find it reliable
I prefer
/** * @return $this */
Source: https://habr.com/ru/post/895844/More articles:C # text box decimal formatting - decimalHow can I check if the first character of my line is a space or a tab character? - c #Is it possible to use a dynamic library (shared object) in my iphone application? - iosLike button and privacy - privacyWhat is the best way to open a class instance in DWScript - rttiextern "C" library in namespace - c ++scripting code coverage tools - shellIs it possible to create a form for a simple class? - ruby-on-railsCodePage error while importing data from Oracle to SQL Server using SSIS - oracleCan PHP issue multiple processed mysql queries in Apache environment? - phpAll Articles