protected function matchGroup($props, $alias, $class)
    {
        if ($props['any']) {
            return true;
        }

        foreach (['path', 'name'] as $group) {
            if ($this->matchClass($props[$group], $group, $alias, $class)) {
                return true;
            }
        }

        return false;
    }
protected function matchGroup($props, $alias, $class)
    {
        if ($props['any']) {
            return true;
        }

        foreach (['path', 'name'] as $group) {
            if ($this->matchClass($props[$group], $group, $alias, $class)) {
                return true;
            }
        }

        return false;
    }
protected function matchGroup ( $ props , $ alias , $ class ) { if ( $ props [ 'any' ] ) { return true ; } foreach ( [ 'path' , 'name' ] as $ group ) { if ( $ this -> matchClass ( $ props [ $ group ] , $ group , $ alias , $ class ) ) { return true ; } } return false ; }
Returns true if a namespace entry is matched.

@param array $props
@param string $alias
@param string $class
@return bool
Returns true if a namespace entry is matched .