protected function containsItem()
    {
        $found = false;
        if ($this->hasManifest()) {
            foreach ($this->getManifest()->getElementsByTagName('resource') as $resourceNode) {
                /** @var \DOMElement $resourceNode */
                if ($resourceNode->getAttribute('identifier') == $this->buildIdentifier()) {
                    $found = true;
                    break;
                }
            }
        }
        return $found;
    }
protected function containsItem()
    {
        $found = false;
        if ($this->hasManifest()) {
            foreach ($this->getManifest()->getElementsByTagName('resource') as $resourceNode) {
                /** @var \DOMElement $resourceNode */
                if ($resourceNode->getAttribute('identifier') == $this->buildIdentifier()) {
                    $found = true;
                    break;
                }
            }
        }
        return $found;
    }
protected function containsItem ( ) { $ found = false ; if ( $ this -> hasManifest ( ) ) { foreach ( $ this -> getManifest ( ) -> getElementsByTagName ( 'resource' ) as $ resourceNode ) { /** @var \DOMElement $resourceNode */ if ( $ resourceNode -> getAttribute ( 'identifier' ) == $ this -> buildIdentifier ( ) ) { $ found = true ; break ; } } } return $ found ; }
Whenever the item is already in the manifest
@return boolean
Whenever the item is already in the manifest