protected function isDuplicateCss(
        PhpRenderer $view,
        $container
    ) {
        /** @var \Zend\View\Helper\HeadLink $headLink */
        $headLink = $view->headLink();

        $containers = $headLink->getContainer();

        foreach ($containers as &$item) {
            if (($item->rel == 'stylesheet')
                && ($item->href == $container->href)
            ) {
                return true;
            }
        }

        return false;
    }
protected function isDuplicateCss(
        PhpRenderer $view,
        $container
    ) {
        /** @var \Zend\View\Helper\HeadLink $headLink */
        $headLink = $view->headLink();

        $containers = $headLink->getContainer();

        foreach ($containers as &$item) {
            if (($item->rel == 'stylesheet')
                && ($item->href == $container->href)
            ) {
                return true;
            }
        }

        return false;
    }
protected function isDuplicateCss ( PhpRenderer $ view , $ container ) { /** @var \Zend\View\Helper\HeadLink $headLink */ $ headLink = $ view -> headLink ( ) ; $ containers = $ headLink -> getContainer ( ) ; foreach ( $ containers as & $ item ) { if ( ( $ item -> rel == 'stylesheet' ) && ( $ item -> href == $ container -> href ) ) { return true ; } } return false ; }
Check to see if CSS is duplicated

@param PhpRenderer                $view
@param \Zend\View\Helper\HeadLink $container Css Headlink

@return bool
Check to see if CSS is duplicated