public function handleArray($path, $subject)
    {
        $set = [];
        foreach ($subject as $subj) {
            $result = $this->resolve($path, $subj);
            if (is_array($result)) {
                $set = array_merge($set, $result);
            } else {
                $set = $result;
            }
        }
        return $set;
    }