siteroller/domparser

Allow get() to return object

Opened this issue · 1 comments

allow get() to return an object.

$response   => auto/string/array/object
    'auto' - if only one item, return as string. Else return array.
    'string' - '<div>A</div><div>B</div>'
    'array' - array([0]=>'<div>A</div>', [1]=>'<div>B</div>')
    'object'

Copied from bug report, but honestly don't remember what it means. I'm sure I will once the code starts rolling though.