@@ 240-250 (lines=11) @@ | ||
237 | /** |
|
238 | * {@inheritdoc} |
|
239 | */ |
|
240 | public function findRootAssetMappings(Expression $expr) |
|
241 | { |
|
242 | $descriptors = $this->discoveryManager->findRootBindingDescriptors($this->exprBuilder->buildExpression($expr)); |
|
243 | $mappings = array(); |
|
244 | ||
245 | foreach ($descriptors as $descriptor) { |
|
246 | $mappings[] = $this->bindingToMapping($descriptor->getBinding()); |
|
247 | } |
|
248 | ||
249 | return $mappings; |
|
250 | } |
|
251 | ||
252 | /** |
|
253 | * {@inheritdoc} |
|
@@ 277-287 (lines=11) @@ | ||
274 | /** |
|
275 | * {@inheritdoc} |
|
276 | */ |
|
277 | public function findAssetMappings(Expression $expr) |
|
278 | { |
|
279 | $descriptors = $this->discoveryManager->findBindingDescriptors($this->exprBuilder->buildExpression($expr)); |
|
280 | $mappings = array(); |
|
281 | ||
282 | foreach ($descriptors as $descriptor) { |
|
283 | $mappings[] = $this->bindingToMapping($descriptor->getBinding()); |
|
284 | } |
|
285 | ||
286 | return $mappings; |
|
287 | } |
|
288 | ||
289 | /** |
|
290 | * {@inheritdoc} |