protected static function getFieldValue(DataContainerInterface $object, $field)
    {
        $getter = $method = AccessorUtil::getter($field);

        if (!method_exists($object, $getter)) {
            $isser = $method = AccessorUtil::isser($field);

            if (!method_exists($object, $isser)) {
                throw new BadGetterException(sprintf('Getter %s or %s for object does not exists', $getter, $isser));
            }
        }

        return $object->{$method}();
    }
protected static function getFieldValue(DataContainerInterface $object, $field)
    {
        $getter = $method = AccessorUtil::getter($field);

        if (!method_exists($object, $getter)) {
            $isser = $method = AccessorUtil::isser($field);

            if (!method_exists($object, $isser)) {
                throw new BadGetterException(sprintf('Getter %s or %s for object does not exists', $getter, $isser));
            }
        }

        return $object->{$method}();
    }
@param DataContainerInterface $object
@param                        $field

@return mixed
@throws BadGetterException