com doc/zh: Finish attributes section: language/attributes.xml
[email protected] (Dai Jie) Thu, 31 Dec 2020 08:43:33 +0000
| Newsgroups | php.doc.zh |
|---|---|
| Message-ID | <[email protected]> |
Commit: 503628b72c201442b928a3789cb245fb167119fb Author: daijie <[email protected]> Thu, 31 Dec 2020 16:43:33 +0800 Parents: a81a5e395bd89933ae782d15a6c7e47820968a23 Branches: master Link: http://git.php.net/?p=doc/zh.git;a=commitdiff;h=503628b72c201442b928a3789cb245fb167119fb Log: Finish attributes section Changed paths: M language/attributes.xml Diff: diff --git a/language/attributes.xml b/language/attributes.xml index 5e4fea34..74979702 100755 --- a/language/attributes.xml +++ b/language/attributes.xml @@ -236,9 +236,8 @@ object(MyAttribute)#3 (1) { </example> <para> - Instead of iterating all attributes on the reflection instance, only those - of a particular attribute class can be - retrieved by passing the searched attribute class name as argument. + 通过传入参数:待搜索的注解类名,可返回指定的注解类, + 而不需要再到反射类中迭代循环获取所有注解。 </para> <example>