Пример #1
0
 public function before(CommandInterface $command, array &$result)
 {
     // Ensure that the result of the command is always rooted with the parsed JSON data
     $result = $command->getResponse()->json();
 }