/** * @param string $dottedKey * @param mixed $default * * @return mixed */ public static function get($dottedKey, $default = null) { if (self::$flashedVars) { $flashedValue = Arr::get(self::$flashedVars, $dottedKey, '~no~flashed~value~'); if ($flashedValue !== '~no~flashed~value~') { return $flashedValue; } } return self::$storage->get($dottedKey, $default); }
public static function __callStatic($name, $arguments) { $key = isset($arguments[0]) ? $arguments[0] : null; $default = isset($arguments[1]) ? $arguments[1] : null; return Arr::get(static::get($name), $key, $default); }
/** * @param string $dottedKey * @param mixed $default * * @return mixed */ public function get($dottedKey, $default = null) { return Arr::get($_SESSION, $dottedKey, $default); }