public function exclusivelyMultipleOrOrdered()
    {
        if (count($this) === 0) {
            return false;
        }

        foreach (array_keys($this->getDataPlaceHolder()) as $key) {
            $v = $this[$key];
            if (!$v instanceof MultipleContainer && !$v instanceof OrderedContainer) {
                return false;
            }
        }

        return true;
    }
public function exclusivelyMultipleOrOrdered()
    {
        if (count($this) === 0) {
            return false;
        }

        foreach (array_keys($this->getDataPlaceHolder()) as $key) {
            $v = $this[$key];
            if (!$v instanceof MultipleContainer && !$v instanceof OrderedContainer) {
                return false;
            }
        }

        return true;
    }
public function exclusivelyMultipleOrOrdered ( ) { if ( count ( $ this ) === 0 ) { return false ; } foreach ( array_keys ( $ this -> getDataPlaceHolder ( ) ) as $ key ) { $ v = $ this [ $ key ] ; if ( ! $ v instanceof MultipleContainer && ! $ v instanceof OrderedContainer ) { return false ; } } return true ; }
Whether the collection contains only MultipleContainer OR OrderedContainer.

@return boolean
Whether the collection contains only MultipleContainer OR OrderedContainer .