Home  >  Article  >  Backend Development  >  一个复杂的Services调用,要基类继承,求指点解决方案

一个复杂的Services调用,要基类继承,求指点解决方案

WBOY
WBOYOriginal
2016-06-13 10:20:36870browse

一个复杂的Services调用,要基类继承,求指点
现在要远程调用一个java的Services应用
这个Services有一个基类BaseUser(user,pwd),所有其它的应用类都要继承这个类
比如我要调用send类时,就要先继承BaseUser,再构造send类,用php能实现吗?

------解决方案--------------------
能~~~~
------解决方案--------------------
上面有个人说 能,我也不能落后哈

能~~~~~

------解决方案--------------------

PHP code
class mysend extends BaseService{     public function mysend (user,pwd) {         parent::BaseUser(user,pwd);     }          public function send() {     }}<br><font color="#e78608">------解决方案--------------------</font><br>如何实现    围观!!!<div class="clear">
                 
              
              
        
            </div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn