Answer the question
In order to leave comments, you need to log in
How to create alias in XML markup?
<service id="League\Tactician\CommandBus"
>
<argument key="$middleware">
<argument type="service"
id="tactician.commandbus.default"
/>
</argument>
</service>
//or
<service id="League\Tactician\CommandBus"
>
<argument key="$middleware"
type="service"
id="tactician.commandbus.default"
/>
</service>
Type error: Argument 1 passed to League\Tactician\CommandBus::__construct() must be of the type
array, string given, called in /home/vagrant/Code/symfony-simple-
adminka/var/cache/dev/ContainerFKJa0xU/getLogInControllerService.php on line 16
League\Tactician\CommandBus: '@tactician.commandbus.default'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question