これをdocblockする適切な方法は何ですか?
class B extends A
{
/**
* Constructor
*
* One of these, or???
* @uses A::__construct()
* @see A::__construct()
*
* @param int|null $id
* @param []|null $data
*/
function __construct($id = null, $data = null)
{
parent::__construct($id);
if ($data) {
$this->setAll($data);
}
}
}
parent
それが有効なキーワードであるというドキュメントは見つかりませんでした。self
も意味がありません。@uses
と@see
タグの両方を付けますか?