Get the Return URLs

@param string $key
@return array
488744
public function getReturnUrls(string $key = null)
    {
        return $key
            ? $this->returnUrls[$key] ?? null
            : $this->returnUrls;
    }
81629
public function retrieve($key)
    {
//        if (!is_array($key)) {
//            return;
//        }
        list($name, $userId) = explode('/user-', $key);

        if (!isset($this->userMeta[$userId])) {
            $data = $this->getModel()->where('user_id', '=', $userId)->get();

            $this->userMeta[$userId] = $this->processRetrievedData($userId, $data);
        }

        return Arr::get($this->userMeta, "{$userId}.{$name}");
    }
83904
protected function lookup($key)
    {
        if (!$this->cache['zoneIp']) {
            $data = ['z' => $this->zone->getZone()];
            $ips = $this->client->zoneIps($this->data($data))['response']['ips'];
            foreach ($ips as $ip) {
                if ($ip['ip'] == $this->ip) {
                    $this->cache['zoneIp'] = $ip;
                    break;
                }
            }
        }

        return $this->cache['zoneIp'][$key];
    }
233395
public function offsetGet($key)
    {
        $arr_key = ArrayUtils::implodeIfArray($key, ':');
        if (!isset($this->links[$arr_key])) {
            $this->links[$arr_key] = $this->resolveLinks(
                ArrayUtils::find($this->parameters, $key)
            );
        }

        return $this->links[$arr_key];
    }
406670
public static function urlEncode($key)
    {
        $s = urlencode($key);

        // Don't use strict form encoding by changing the square bracket control
        // characters back to their literals. This is fine by the server, and
        // makes these parameter strings easier to read.
        $s = str_replace('%5B', '[', $s);
        $s = str_replace('%5D', ']', $s);

        return $s;
    }
715796
protected function getData($key)
    {
        $path = $this->path($key);
        if (!$this->fileSystem->isFile($path)) {
            return ['data' => null, 'time' => null];
        }

        $content    = $this->fileSystem->get($path);
        $expire     = substr($content, 0, 10);

        if (time() > $expire) {
            $this->delete($key);
            return ['data' => null, 'time' => null];
        }

        $data = unserialize(substr($content, 10));


        return ['data'=>$data, 'time' => ($expire - time())];
    }
1080280
private function getQueryOptions(/* $key, ... */)
    {
        return array_filter(
            array_intersect_key($this->query, array_flip(func_get_args())),
            function($value) { return $value !== null; }
        );
    }
1117841
public function getKeyPath($key)
    {

        $key = str_replace('.', '/', trim($key, '.'));

        return implode('', [$this->_path, "/$key", $this->_format->getExtension()]);
    }
74589
public static function param($key = ''){
		if($key){
			$get = self::get();
			$post = self::post();
			if(isset($post[$key])){
				return $post[$key] ;
			}else if(isset($get[$key])){
				return $get[$key] ;
			}else{
				return "";
			}
		}else{
			$get = self::get();
			$post = self::post();
			return array_merge($get,$post);
		}
	}
943552
public static function fetch( $array, $key )
    {
        $result = [ ];

        foreach ( explode( '.', $key ) as $segment )
        {
            foreach ( $array as $value )
            {
                $value = ( array ) $value;

                $result[ ] = $value[ $segment ];
            }

            $array = array_values( $result );
        }

        return array_values( $result );
    }
123606
public function getCachedAssets($key) {
    $files = array();

    $js = "/cachedassets/{$key}.js";
    if (file_exists($this->path . $js)) {
      $files['scripts'] = array((object) array(
        'path' => $js,
        'version' => ''
      ));
    }

    $css = "/cachedassets/{$key}.css";
    if (file_exists($this->path . $css)) {
      $files['styles'] = array((object) array(
        'path' => $css,
        'version' => ''
      ));
    }

    return empty($files) ? NULL : $files;
  }
894680
public function fetchStreamUri($key)
    {
        $filePath = $this->path;

        $this->checkFilePath($filePath);

        if ($this->denyAccess) {
            $this->options['format'] = '.php';
        }

        return sprintf(
            '%s/%s~%s' . $this->options['format'],
            $filePath,
            ($this->group) ? $this->group . '/' : $this->group,
            hash('sha1', $key)
        );
    }
585417
public function getLogs($key = '')
    {
        if ($key) {
            if (isset($this->logs[$key])) {
                if (!is_array($this->logs[$key])) {
                    return [$this->logs[$key]];
                } else {
                    return $this->logs[$key];
                }
            } else {
                return null;
            }
        }

        return $this->logs;
    }
164039
public function getArray($key)
	{
		$this->validateKey($key);
		return $this->has($key) ? $this->params[$key] : [];
	}
352384
public function getServlet($key)
    {
        if ($this->servlets->has($key)) {
            return $this->servlets->get($key);
        }
    }
997657
public function fetch($key) : Collection
    {
        $extr = [];
        foreach ($this->list as $list) {
            if (is_array($list) && key_exists($key, $list)) {
                $extr[] = $list[$key];
            }
        }

        return self::from(...$extr);
    }
545294
public function getExtensions($key) {
		if ($this->extensions->has($key)) {
			return $this->extensions->get($key);
		}
		
		return [];
	}