Exemplo n.º 1
0
 public function generate(Resource $resource, array $data = [])
 {
     $generateMethod = new GenerateMethod($resource->getSrcFilename(), $resource->getSrcClassName(), $data['name'], $data['arguments']);
     $this->commandBus->handle($generateMethod);
 }