Eno\EmptyElement » raw

raw() → object

Retrieve a native representation of the empty element.

enocolor:
php$empty = Parser::parse($input)->element('color');

$empty->raw();  // returns [ 'color' => null ]

Return value

A native representation of the empty element.