com doc/zh: Finish attributes section: language/attributes.xml
| From: | Dai Jie | Date: | Thu, 31 Dec 2020 08:43:33 +0000 |
| Subject: | com doc/zh: Finish attributes section: language/attributes.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-5877@lists.php.net to get a copy of this message | ||
Commit: 503628b72c201442b928a3789cb245fb167119fb
Author: daijie <daijie@php.net> 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>