operator []= method

void operator []=(
  1. String accessor,
  2. KuzzleController controller
)

Implementation

void operator []=(String accessor, KuzzleController controller) {
  assert(_controllers[accessor] == null);

  controller.accessor = accessor;

  _controllers[accessor] = controller;
}