src/TypeValidator.php
protected function validateItems(array $items, $type)
    {
        foreach ($items as $item) {
            $this->validateItem($item, $type);
        }
    }
protected function validateItems(array $items, $type)
    {
        foreach ($items as $item) {
            $this->validateItem($item, $type);
        }
    }
protected function validateItems ( array $ items , $ type ) { foreach ( $ items as $ item ) { $ this -> validateItem ( $ item , $ type ) ; } }
Validates an array of items

@param array $items an array of items to be validated
@param type
Validates an array of items