For a complex service call, the base class inheritance is required.

Source: Internet
Author: User
A complex service call requires inheritance of the base class. now, you need to remotely call a java service application. this service has a base class BaseUser (user, pwd ), all other application classes must inherit this class. for example, when I want to call the send class, I need to inherit BaseUser first, and then construct the send class. I need to use ph to call a complex service and inherit the base class, please advise
Now, you need to remotely call a java Services application.
This service has a base class BaseUser (user, pwd). All other application classes must inherit this class.
For example, when I want to call the send class, I need to inherit BaseUser first and then construct the send class. Can I use php to implement this?

------ Solution --------------------
Yes ~~~~
------ Solution --------------------
I can't lag behind either of the above.

Yes ~~~~~

------ Solution --------------------
PHP code
Class mysend extends BaseService {public function mysend (user, pwd) {parent: BaseUser (user, pwd);} public function send (){}}
------ Solution --------------------
How to achieve onlookers !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.