$collection->set($key, $value)

  • $key (string | array)
  • $value ()