ok

Mini Shell

Direktori : /opt/alt/php55/usr/share/pear/PHPUnit/Framework/MockObject/Generator/
Upload File :
Current File : //opt/alt/php55/usr/share/pear/PHPUnit/Framework/MockObject/Generator/mocked_object_method.tpl.dist

    {modifier} function {reference}{method_name}({arguments_decl})
    {
        $arguments = array({arguments_call});
        $count     = func_num_args();

        if ($count > {arguments_count}) {
            $_arguments = func_get_args();

            for ($i = {arguments_count}; $i < $count; $i++) {
                $arguments[] = $_arguments[$i];
            }
        }

        $result = $this->__phpunit_getInvocationMocker()->invoke(
          new PHPUnit_Framework_MockObject_Invocation_Object(
            '{class_name}', '{method_name}', $arguments, $this, {clone_arguments}
          )
        );

        return $result;
    }

Zerion Mini Shell 1.0