protected function getDataField($dataRow, $name, \Closure $emptyData = null)
    {
        $value = null !== $name && '' !== $name
            ? $this->propertyAccessor->getValue($dataRow, $name)
            : null;

        if (null === $value && $emptyData instanceof \Closure) {
            $value = $emptyData($dataRow, $name);
        }

        return $value;
    }