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

Returns either the entire data array or parts of it

  • $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)