public function isApplicable($relativePath)
    {
        //adapt the file path before comparing them to expected files
        $relativePathAdapted = preg_replace('/^\.\//', '', $relativePath);
        if ($this->portableItemParser->hasPortableElement()
            && $this->portableItemParser->isPortableElementAsset($relativePathAdapted)
        ) {
            return true;
        }
        return false;
    }
public function isApplicable($relativePath)
    {
        //adapt the file path before comparing them to expected files
        $relativePathAdapted = preg_replace('/^\.\//', '', $relativePath);
        if ($this->portableItemParser->hasPortableElement()
            && $this->portableItemParser->isPortableElementAsset($relativePathAdapted)
        ) {
            return true;
        }
        return false;
    }
public function isApplicable ( $ relativePath ) { //adapt the file path before comparing them to expected files $ relativePathAdapted = preg_replace ( '/^\.\//' , '' , $ relativePath ) ; if ( $ this -> portableItemParser -> hasPortableElement ( ) && $ this -> portableItemParser -> isPortableElementAsset ( $ relativePathAdapted ) ) { return true ; } return false ; }
Check if given file is into pci and required by this pci

@param $relativePath
@return bool
Check if given file is into pci and required by this pci