This PR builds on top of the existing synthesizers and adds support for Statamic\Fields\Value as a public property.
public Value $value;
public function mount()
{
$this->value = Entry::all()->first()->augmentedValue('bard');
}
I've also added synthesizers for Statamic\Fields\Fieldtype and Statamic\Fields\Field as those are necessary to properly dehydrate and hydrate a Statamic\Fields\Value.
This PR should close #58. Maybe @edalzell can chip in if this PR solves his needs.
This PR builds on top of the existing synthesizers and adds support for
Statamic\Fields\Value
as a public property.I've also added synthesizers for
Statamic\Fields\Fieldtype
andStatamic\Fields\Field
as those are necessary to properly dehydrate and hydrate aStatamic\Fields\Value
.This PR should close #58. Maybe @edalzell can chip in if this PR solves his needs.