Eno\Fieldset » raw

raw() → object

Retrieve a native representation of the fieldset.

enoweights:
apple = 100g
pineapple = 800g
php$document = Parser::parse($input);

$document->fieldset('weights')->raw();
  // returns [ 'weights' => [[ 'apple' => '100g' ], [ 'pineapple' => '800g' ]] ]

Return value

A native object representation of the fieldset.