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