protected function evaluateSelect(array $item, $scalar)
    {
        $resultItem = [];
        foreach ($item as $key => $value) {
            if (true === isset($this->select['*']) || true === isset($this->select[$key])) {
                if (true === isset($this->select[$key])) {
                    $value = $this->selectEvaluation->evaluate($value, $this->select[$key]);
                }
                if (true === $scalar) {
                    $resultItem = $value;
                } else {
                    $resultItem[$key] = $value;
                }
            }
        }

        return $resultItem;
    }