Eno\ListElement » raw

raw() → object

Retrieve a native representation of the list.

enocolors:
- pink
- peach
php$list = Parser::parse($input)->element('colors');

$list->raw();  // returns [ 'colors' => ['pink', 'peach'] ]

Return value

A native PHP representation of the list.