
| Current Path : /var/www/html/rocksensor/vendor/chi-teck/drupal-code-generator/src/Attribute/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor/vendor/chi-teck/drupal-code-generator/src/Attribute/Generator.php |
<?php
declare(strict_types=1);
namespace DrupalCodeGenerator\Attribute;
use DrupalCodeGenerator\GeneratorType;
/**
* Generator definition.
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
final class Generator {
public function __construct(
public readonly string $name,
public readonly string $description = '',
public readonly array $aliases = [],
public readonly bool $hidden = FALSE,
public readonly ?string $templatePath = NULL,
public readonly GeneratorType $type = GeneratorType::OTHER,
public readonly ?string $label = NULL,
) {}
}