The trait MartinGeorgiev\Doctrine\...\BooleanValidationTrait requires the property $value which is not provided by MartinGeorgiev\Doctrine\...T\Functions\ArrayToJson.
Loading history...
27
28
3
protected function getNodeMappingPattern(): array
29
{
30
3
return ['StringPrimary'];
31
}
32
33
3
protected function getFunctionName(): string
34
{
35
3
return 'array_to_json';
36
}
37
38
3
protected function getMinArgumentCount(): int
39
{
40
3
return 1;
41
}
42
43
3
protected function getMaxArgumentCount(): int
44
{
45
3
return 2;
46
}
47
48
2
protected function validateArguments(Node ...$arguments): void
49
{
50
2
parent::validateArguments(...$arguments);
51
52
// Validate that the second parameter is a valid boolean if provided