예제 #1
0
 /**
  * Get
  *
  * @param string $key      Key
  * @param mixed  $fallback Default return value
  *
  * @return mixed Value
  */
 public function get($key, $fallback = NULL)
 {
     return Arr::get($this->data, $key, $fallback);
 }
예제 #2
0
 /**
  * Get Config
  *
  * @param string $key      Key
  * @param mixed  $fallback Default return value
  *
  * @return mixed Value
  */
 public function getConfig($key, $fallback = null)
 {
     return Arr::get($this->config, $key, $fallback);
 }