Swat/SwatHtmlHeadEntrySetDisplayer.php
protected function checkForConflicts(array $uris)
    {
        $conflicts = $this->concentrator->getConflicts($uris);
        if (count($conflicts) > 0) {
            $conflict_list = '';
            $count = 0;
            foreach ($conflicts as $file => $conflict) {
                $conflict_list .= sprintf(
                    "\n- %s conflicts with %s",
                    $file,
                    implode(', ', $conflict)
                );

                $count++;
            }
            throw new SwatException(
                'Could not display head entries because the following ' .
                    'conflicts were detected: ' .
                    $conflict_list
            );
        }
    }
protected function checkForConflicts(array $uris)
    {
        $conflicts = $this->concentrator->getConflicts($uris);
        if (count($conflicts) > 0) {
            $conflict_list = '';
            $count = 0;
            foreach ($conflicts as $file => $conflict) {
                $conflict_list .= sprintf(
                    "\n- %s conflicts with %s",
                    $file,
                    implode(', ', $conflict)
                );

                $count++;
            }
            throw new SwatException(
                'Could not display head entries because the following ' .
                    'conflicts were detected: ' .
                    $conflict_list
            );
        }
    }
protected function checkForConflicts ( array $ uris ) { $ conflicts = $ this -> concentrator -> getConflicts ( $ uris ) ; if ( count ( $ conflicts ) > 0 ) { $ conflict_list = '' ; $ count = 0 ; foreach ( $ conflicts as $ file => $ conflict ) { $ conflict_list .= sprintf ( "\n- %s conflicts with %s" , $ file , implode ( ', ' , $ conflict ) ) ; $ count ++ ; } throw new SwatException ( 'Could not display head entries because the following ' . 'conflicts were detected: ' . $ conflict_list ) ; } }
Check for conflicts in a set of HTML head entry URIs

If a conflict is detected, an exception is thrown explaining the
conflict.

@param array $uris the HTML head entry URIs to check.

@throws SwatException if one or more conflicts are present.
Check for conflicts in a set of HTML head entry URIs