public function validateDependencies(array &$items, $enabled = false)
    {
        foreach ($items as &$item) {
            $this->validateDependency($item, $items, $enabled);
        }

        return $items;
    }