MAKS\AmqpAgent\Worker\WorkerCommandTrait::getCommand
Returns the content of a specific key in the command array, used for example to get the additional parameters.
Signature
public function getCommand(array
        $data,
            [string
        $key = 'params',
            [string
        $sub = NULL]] )
            
        Parameters
- $data— array
- The array that should be checked.
- $key— string
- [optional] The array key name.
- $sub— string
- [optional] The array nested array key name.
 
Returns
- mixed