Zend\Json\Server\Smd\Service::__construct
Constructor
Signature
public function __construct(string|array
$spec )
Parameters
$spec
— object
Errors/Exceptions
-
InvalidArgumentException
- if no name provided