| @@ 305-316 (lines=12) @@ | ||
| 302 | /** |
|
| 303 | * {@inheritdoc} |
|
| 304 | */ |
|
| 305 | protected function getReferencesForGlob($glob, $flags = 0) |
|
| 306 | { |
|
| 307 | if (!Glob::isDynamic($glob)) { |
|
| 308 | return $this->getReferencesForPath($glob); |
|
| 309 | } |
|
| 310 | ||
| 311 | return $this->getReferencesForRegex( |
|
| 312 | Glob::getBasePath($glob), |
|
| 313 | Glob::toRegEx($glob), |
|
| 314 | $flags |
|
| 315 | ); |
|
| 316 | } |
|
| 317 | ||
| 318 | /** |
|
| 319 | * {@inheritdoc} |
|
| @@ 154-165 (lines=12) @@ | ||
| 151 | /** |
|
| 152 | * {@inheritdoc} |
|
| 153 | */ |
|
| 154 | protected function getReferencesForGlob($glob, $flags = 0) |
|
| 155 | { |
|
| 156 | if (!Glob::isDynamic($glob)) { |
|
| 157 | return $this->getReferencesForPath($glob); |
|
| 158 | } |
|
| 159 | ||
| 160 | return $this->getReferencesForRegex( |
|
| 161 | Glob::getStaticPrefix($glob), |
|
| 162 | Glob::toRegEx($glob), |
|
| 163 | $flags |
|
| 164 | ); |
|
| 165 | } |
|
| 166 | ||
| 167 | /** |
|
| 168 | * {@inheritdoc} |
|