[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Add missing constant definition ReflectionAttribute::IS_INSTANCEOF
From: Ollie Read via GitHub <noreply () php ! net>
Date: 2022-04-22 15:57:55
Message-ID: VbKJcKhBRuKwuRvSoW4sJs10oJtO3xEt2xJuSADAsaM () main ! php ! net
[Download RAW message or body]
Author: Ollie Read (ollieread)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-04-22T17:54:17+02:00
Commit: https://github.com/php/doc-en/commit/a7e787f40f5c989f261f2fee203ab9985941f4a4
Raw diff: https://github.com/php/doc-en/commit/a7e787f40f5c989f261f2fee203ab9985941f4a4.diff
Add missing constant definition ReflectionAttribute::IS_INSTANCEOF
Closes GH-1537.
Changed paths:
M reference/reflection/reflectionattribute.xml
Diff:
diff --git a/reference/reflection/reflectionattribute.xml \
b/reference/reflection/reflectionattribute.xml index dc7eb51c4eb..9919da0b749 100644
--- a/reference/reflection/reflectionattribute.xml
+++ b/reference/reflection/reflectionattribute.xml
@@ -36,6 +36,14 @@
</oointerface>
</classsynopsisinfo>
+ <classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
+ <fieldsynopsis>
+ <modifier>const</modifier>
+ <type>int</type>
+ <varname linkend="reflectionattribute.constants.is-instanceof">ReflectionAttribute::IS_INSTANCEOF</varname>
+ <initializer>2</initializer>
+ </fieldsynopsis>
+
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.reflectionattribute')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
<xi:fallback/>
@@ -48,6 +56,35 @@
</section>
+ <!-- {{{ ReflectionAttribute constants -->
+ <section xml:id="reflectionattribute.constants">
+ &reftitle.constants;
+ <section xml:id="reflectionattribute.constants.flags">
+ <title>ReflectionAttribute Flags</title>
+ <variablelist>
+
+ <varlistentry xml:id="reflectionattribute.constants.is-instanceof">
+ <term><constant>ReflectionAttribute::IS_INSTANCEOF</constant></term>
+ <listitem>
+ <para>
+ Retrieve attributes using an
+ <parameter>instanceof</parameter> check.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+ <note>
+ <para>
+ The values of these constants may change between PHP versions.
+ It is recommended to always use the constants
+ and not rely on the values directly.
+ </para>
+ </note>
+ </section>
+ </section>
+ <!-- }}} -->
+
</partintro>
&reference.reflection.entities.reflectionattribute;
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic