Add getValue method to Field
[MAILPOET-4191]
This commit is contained in:
committed by
Veljko V
parent
69b523171f
commit
b2f2f2665c
@@ -54,6 +54,11 @@ class Field {
|
||||
return $this->factory;
|
||||
}
|
||||
|
||||
// @phpstan-ignore-next-line - there is no consistent return type
|
||||
public function getValue() {
|
||||
return $this->getFactory()();
|
||||
}
|
||||
|
||||
public function getArgs(): array {
|
||||
return $this->args;
|
||||
}
|
||||
|
Reference in New Issue
Block a user