Sorry, we don't support your browser.  Install a modern browser

field() helper function

I often find it handy to apply field methods to arbitrary values. Using new Field($parent, 'key', $value) often feels a bit clunky, having a simplefield($value)helper that takes any value and wraps it in aField` object if not already a field would be pretty handy, especially when passing values to snippets.

2 years ago