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

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

        return $items;
    }
public function validateDependencies ( array & $ items , $ enabled = false ) { foreach ( $ items as & $ item ) { $ this -> validateDependency ( $ item , $ items , $ enabled ) ; } return $ items ; }
Validates dependency for an array of items
@param array $items
@param bool $enabled
@return array
Validates dependency for an array of items