$field->toStructure()
Converts a yaml field to a Structure object
Return type
While the yaml
method returns a simple associative PHP array for structured field content, the toStructure
method gives you a full blown Kirby Collection which makes it possible to use Kirby's chaining syntax.