| @@ 276-287 (lines=12) @@ | ||
| 273 | /** |
|
| 274 | * {@inheritdoc} |
|
| 275 | */ |
|
| 276 | protected function getReferencesForGlob($glob, $flags = 0) |
|
| 277 | { |
|
| 278 | if (!Glob::isDynamic($glob)) { |
|
| 279 | return $this->getReferencesForPath($glob); |
|
| 280 | } |
|
| 281 | ||
| 282 | return $this->getReferencesForRegex( |
|
| 283 | Glob::getBasePath($glob), |
|
| 284 | Glob::toRegEx($glob), |
|
| 285 | $flags |
|
| 286 | ); |
|
| 287 | } |
|
| 288 | ||
| 289 | /** |
|
| 290 | * {@inheritdoc} |
|
| @@ 98-109 (lines=12) @@ | ||
| 95 | /** |
|
| 96 | * {@inheritdoc} |
|
| 97 | */ |
|
| 98 | protected function getReferencesForGlob($glob, $flags = 0) |
|
| 99 | { |
|
| 100 | if (!Glob::isDynamic($glob)) { |
|
| 101 | return $this->getReferencesForPath($glob); |
|
| 102 | } |
|
| 103 | ||
| 104 | return $this->getReferencesForRegex( |
|
| 105 | Glob::getStaticPrefix($glob), |
|
| 106 | Glob::toRegEx($glob), |
|
| 107 | $flags |
|
| 108 | ); |
|
| 109 | } |
|
| 110 | ||
| 111 | /** |
|
| 112 | * {@inheritdoc} |
|