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:
- config: A configuration file is required to build the classmap.