A developer is working with a custom module and needs to use
virtualType with the class constructor array arguments in the di.xml.
How would the developer pass an array ['one', 'two'] as an argument to
virtualType using the di.xml?
a)
<argument name=""custom_data"" xsi:type=""array"">one, two</argument>
b)
<argument name=""custom_data"" xsi:type=""array"">
<item name=""0"" xsi:type=""string"">one</item>
<item name=""1"" xsi:type=""string"">two</item>
</argument>
c)
<argument name=""custom_data"" xsi:type=""object"">
<item name=""0"" xsi:type=""string"">one</item>
<item name=""1"" xsi:type=""string"">two</item>
</argument>
d)
<argument name=""custom data"" xsi:type=""array"" data=""one, two""/>
Ans : B