Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <type name="ExampleFooModelFoo">
- <arguments>
- <argument name="stuff" xsi:type="array">
- <item name="hello" xsi:type="string" translate="true">Hello World!</item>
- </argument>
- </arguments>
- </type>
- namespace ExampleFooModel;
- class Foo {
- public function __construct(array $stuff = [])
- {
- var_dump($stuff);
- }
- }
Add Comment
Please, Sign In to add comment