generate:service

Generate service

Usage:

$ drupal generate:service [options]
$ gs

Available options

Option Details
--module The Module name.
--name commands.generate.service.options.name
--class Class name
--interface commands.common.service.options.interface
--services Load services from the container.
--path_service Path