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.
Signature
private function getField(mixed
$targetObject,
string
$field )
Parameters
$targetObject
— mixed$field
— string
Returns
- mixed