mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Restore overloaded signature of reflectionmethod::__construct()
Still not great, but that constructor is a mess.
This commit is contained in:
parent
2424a1accc
commit
8217228b33
1 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,12 @@
|
|||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname>
|
||||
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam><type>string</type><parameter>method</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
<simpara>Alternative signature (not supported with named arguments):</simpara>
|
||||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>classMethod</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
<para>
|
||||
Constructs a new <classname>ReflectionMethod</classname>.
|
||||
|
@ -40,7 +45,7 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>objectOrMethod</parameter></term>
|
||||
<term><parameter>classMethod</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Class name and method name delimited by <literal>::</literal>.
|
||||
|
|
Loading…
Reference in a new issue