protected function __construct(array $message) { parent::__construct($message); $this->command = $message['rulezdev:custom']['command']; $this->to = $message['rulezdev:custom']['to']; $this->arguments = $message['rulezdev:custom']['arguments']; }