Source

VersionControl_Hg / src / Documentation / API / Docbook / versioncontrol / hg / versioncontrol-hg-commandproxy / --call.xml

The default branch has multiple heads

<refentry id="package.versioncontrol.hg.versioncontrol-hg-commandproxy.--call">
 <refnamediv>
  <refname>
   <function>VersionControl_Hg_CommandProxy::__call</function>
  </refname>
  <refpurpose>Proxies to the actual implementations of the commands</refpurpose>
 </refnamediv>
 <refsynopsisdiv>
  <funcsynopsis>
   <funcsynopsisinfo>require_once &apos;/Hg/CommandProxy.php&apos;;</funcsynopsisinfo>
   <funcprototype>
    <funcdef>
     <replaceable>
      <link linkend="package.versioncontrol.hg.command.versioncontrol-hg-command-interface-summary">
       <classname>VersionControl_Hg_Command_Interface</classname>
      </link>
     </replaceable>
     <function>VersionControl_Hg_CommandProxy::__call</function>
    </funcdef>
    <paramdef>
     string
     <parameter>$method</parameter>
    </paramdef>
    <paramdef>
     array
     <parameter>
      <optional>$arguments = &null;</optional>
     </parameter>
    </paramdef>
   </funcprototype>
  </funcsynopsis>
 </refsynopsisdiv>
 <refsect1 id="package.versioncontrol.hg.versioncontrol-hg-commandproxy.--call.desc">
  &title.desc;
  &notdocumented;
</refsect1>
 <refsect1 id="package.versioncontrol.hg.versioncontrol-hg-commandproxy.--call.param">
  &title.param;
  <para>
   <variablelist>
    <varlistentry>
     <term>
      &type.string;
      <parameter>$method</parameter>
     </term>
     <listitem>
      <para>The command to instantiate</para>
     </listitem>
    </varlistentry>
   </variablelist>
   <variablelist>
    <varlistentry>
     <term>
      &type.array;
      <parameter>$arguments</parameter>
     </term>
     <listitem>
      <para>Parameters for the command</para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.versioncontrol-hg-commandproxy.--call.throws">
  &title.throws;
  <para>
   <emphasis>throws</emphasis>
   VersionControl_Hg_Exception
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.versioncontrol-hg-commandproxy.--call.note">
  &title.note;
  &note.notstatic;
</refsect1>
</refentry>