-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mention of is_a()
and instanceof
in class_implements()
and class_parents()
pages
#2697
Add mention of is_a()
and instanceof
in class_implements()
and class_parents()
pages
#2697
Conversation
@@ -99,12 +99,24 @@ Array | |||
</para> | |||
</refsect1> | |||
|
|||
<refsect1 role="notes"> | |||
&reftitle.notes; | |||
¬e.no-remote; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this entity?
Doesn't seem related at all and something from a copy/paste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it 👍
To check that an object implements an interface, you should either use &instanceof; | ||
or the <function>is_a</function> function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personalisation:
To check that an object implements an interface, you should either use &instanceof; | |
or the <function>is_a</function> function. | |
To check that an object implements an interface, &instanceof; | |
or the <function>is_a</function> function should be used instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
<refsect1 role="seealso"> | ||
&reftitle.seealso; | ||
<para> | ||
<simplelist> | ||
<member><function>class_parents</function></member> | ||
<member><function>get_declared_interfaces</function></member> | ||
<member><function>is_a</function></member> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instanceof should also be mentionned here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added 🙂
…`class_parents()` pages
f4a0ac8
to
cd14c1f
Compare
Fix #1606