docblock が実際には同一であると仮定すると、多くの場合、継承されたメソッドをオーバーライドしているが同じ署名を維持している場合に、@see
...を使用できます。
abstract class MyBaseModel
/**
* @param Boolean $excludeDeleted Should soft-deleted records be excluded
*/
public function newQuery($excludeDeleted = true)
{
....
}
}
class MyExtendedModel extends MyBaseModel
/**
* Overload the base newQuery() method so that we can inject any security filters into the query
*
* @see MyBaseModel::newQuery
*/
public function newQuery($excludeDeleted = true)
{
....
}
}
thing1()
しかし、あなたのとのサンプル docblockthing2()
は同一ではないため、その場合、簡潔な (怠惰な) 方法はありません。