r::get($key = null, $default = null)

Alternative for r::data($key, $default)

  • $key (string)
    An optional key to receive only parts of the data array
  • $default (mixed)
    A default value, which will be returned if nothing can be found for a given key
  • (mixed)