1 {% import 'lib/di.twig' as di %}
4 namespace Drupal\{{ machine_name }};
10 * {{ class }} service.
15 {{ di.properties(services) }}
18 * Constructs {{ class|article|lower }} object.
20 {{ di.annotation(services) }}
22 public function __construct({{ di.signature(services) }}) {
23 {{ di.assignment(services) }}
30 public function doSomething() {
31 // @DCG place your code here.