/** * Does the path match the start of this pattern up to the first "**". * This is a static mehtod and should always be called static * * This is not a general purpose test and should only be used if you * can live with false positives. * * pattern=**\a and str=b will yield true. * * @param string $pattern * @param string $str * @param bool $isCaseSensitive * @internal param the $pattern pattern to match against * @internal param the $str string (path) to match * @internal param must $isCaseSensitive matches be case sensitive? * @return boolean true if matches, otherwise false */ public function matchPatternStart($pattern, $str, $isCaseSensitive = true) { return SelectorUtils::matchPatternStart($pattern, $str, $isCaseSensitive); }