Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
46 | 10 | protected function getAssets($tagName, $attributeName, $content, array $requiredOtherAttributes = []) |
|
47 | { |
||
48 | 10 | $attributes = $this->xmlTagAttributeExtractor->getAttributeFromTag( |
|
49 | 10 | $tagName, $attributeName, $content, $requiredOtherAttributes |
|
50 | ); |
||
51 | 10 | return $this->assetFactory->createAssetsFromPaths( |
|
52 | 10 | $attributes['paths'], |
|
53 | 10 | $attributes['masks'] |
|
54 | ); |
||
56 | } |