NextDom\Helpers\DBHelper::getField

Returns the value of a field of a given object. It'll try to use a getter first if defined. If not defined, we'll use the reflection API.