Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 881 Bytes

generate-client.md

File metadata and controls

25 lines (17 loc) · 881 Bytes

Generating clients

Before you can generate code, you'll need to add some additional dev dependencies to your project:

composer require --dev zendframework/zend-code:^3.1.0

A client with type and return type hints can be generated.

$ ./vendor/bin/soap-client generate:client                                                                                                                                    [16:13:31]
Usage:
  generate:client [options]

Options:
      --config=CONFIG   The location of the soap code-generator config file

This command will generate a client based on the client setings in the configuration. This client will contain all methods used to initiate calls and uses type hinted parameters and return types.

Options: