Or something like this would be nice too, please avoid using +<TYPE> or (<TYPE>).

class test {
   public static Itest function testing($instance) {
      return $instance;
   }
}

troels knak-nielsen wrote:
On Mon, Apr 7, 2008 at 2:28 PM, Felipe Pena <[EMAIL PROTECTED]> wrote:
class test {
       static public function +Itest testing($instance) {
               return $instance;
       }
}

A more sane syntax, might be something like:

class test {
       static function testing($instance) : Itest {
               return $instance;
       }
}

--
troels

--

*Jarismar Chaves da Silva*

Reply via email to