|
@@ -15,17 +15,17 @@ |
|
|
block discarded – undo |
|
15
|
15
|
public function __construct( |
|
16
|
16
|
#[Assert\NotBlank(message: 'The operation name should not be empty')] |
|
17
|
17
|
private ?string $name = null, |
|
18
|
|
- #[Assert\Length(max: 255, maxMessage: 'The operation title should be shorter than 255 characters')] |
|
|
18
|
+ #[Assert\Length(max : 255, maxMessage : 'The operation title should be shorter than 255 characters')] |
|
19
|
19
|
private ?string $title = null, |
|
20
|
20
|
private ?string $description = null, |
|
21
|
|
- #[Assert\Length(max: 255, maxMessage: 'The operation icon should be shorter than 255 characters')] |
|
|
21
|
+ #[Assert\Length(max : 255, maxMessage : 'The operation icon should be shorter than 255 characters')] |
|
22
|
22
|
private ?string $icon = null, |
|
23
|
|
- #[Assert\NotBlank(message: 'The operation template should not be empty')] |
|
|
23
|
+ #[Assert\NotBlank(message : 'The operation template should not be empty')] |
|
24
|
24
|
private ?string $template = null, |
|
25
|
25
|
private ?array $permissions = [], |
|
26
|
|
- #[Assert\NotBlank(message: 'The operation controller should not be empty')] |
|
|
26
|
+ #[Assert\NotBlank(message : 'The operation controller should not be empty')] |
|
27
|
27
|
private ?string $controller = null, |
|
28
|
|
- #[Assert\NotBlank(message: 'The operation has an empty route')] |
|
|
28
|
+ #[Assert\NotBlank(message : 'The operation has an empty route')] |
|
29
|
29
|
private ?string $route = null, |
|
30
|
30
|
private ?array $routeParameters = null, |
|
31
|
31
|
private array $methods = [], |