src/Shared/Globbing/GlobbingTrait.php
protected function globbingNames(
        /*# string */ $exactName,
        array $names
    )/*# : array */ {
        $result = [];
        foreach ($names as $name) {
            if ($this->nameGlobbing($exactName, $name)) {
                $result[] = $name;
            }
        }
        return $result;
    }
protected function globbingNames(
        /*# string */ $exactName,
        array $names
    )/*# : array */ {
        $result = [];
        foreach ($names as $name) {
            if ($this->nameGlobbing($exactName, $name)) {
                $result[] = $name;
            }
        }
        return $result;
    }
Returns all names matches with $exactName

e.g.
'user.login' matches '*', 'u*.*', 'user.*', 'user.l*', 'user.login' etc.

@param  string $exactName
@param  array $names
@return array
@access protected