PHP Mapping for Operations on Local Types

An operation on a local interface or a local class is mapped to a PHP method with the same name. The mapping of operation parameters to PHP is identical to the client-side mapping for these parameters.

Unlike the client-side mapping, there is no mapped method with a trailing Context parameter.

For example:

Slice
module M
{
    local interface L; // forward declared
    local sequence<L> LSeq;
    local interface L
    {
        string op(int n, string s, LocalObject any, out int m, out string t, out LSeq newLSeq);
    }
}

is mapped to:

PHP
namespace M
{
    interface L
    {
        public function op($n, $s, $any, $m, $t, $newLSeq);
    }
}