Hello,
is there a way to create a new Field Object?
I want to use the functions like value
on my object.
PS: The blueprint for that page already contains the field price
.
I just want to globally override it.
class TourPagePage extends Page {
public function price() {
$field = new Field('price');
$field->value("20");
return $field;
}
}
Thanks for your help!