protected function _isContainPart($eNameParts, $ePaths)
    {
        // Length of parts is equels
        if (count($eNameParts) !== count($ePaths)) {
            return false;
        }

        $isFound = true;

        foreach ($eNameParts as $pos => $eNamePart) {
            if ('*' !== $eNamePart && array_key_exists($pos, $ePaths) && $ePaths[$pos] !== $eNamePart) {
                $isFound = false;
                break;
            }
        }

        return $isFound;
    }
protected function _isContainPart($eNameParts, $ePaths)
    {
        // Length of parts is equels
        if (count($eNameParts) !== count($ePaths)) {
            return false;
        }

        $isFound = true;

        foreach ($eNameParts as $pos => $eNamePart) {
            if ('*' !== $eNamePart && array_key_exists($pos, $ePaths) && $ePaths[$pos] !== $eNamePart) {
                $isFound = false;
                break;
            }
        }

        return $isFound;
    }
protected function _isContainPart ( $ eNameParts , $ ePaths ) { // Length of parts is equels if ( count ( $ eNameParts ) !== count ( $ ePaths ) ) { return false ; } $ isFound = true ; foreach ( $ eNameParts as $ pos => $ eNamePart ) { if ( '*' !== $ eNamePart && array_key_exists ( $ pos , $ ePaths ) && $ ePaths [ $ pos ] !== $ eNamePart ) { $ isFound = false ; break ; } } return $ isFound ; }
Check is one part name contain another one

@param array $eNameParts
@param array $ePaths
@return bool
Check is one part name contain another one