final public static function allowedParams (array $allowedParams=[], string $option) : array
	{
		$allowedArray 	= [];
		$option 		= static::checkGlobal($option);
		foreach ($allowedParams as $param) $allowedArray[$param] = $option[$param] ?? NULL;
		return $allowedArray;
	}
final public static function allowedParams (array $allowedParams=[], string $option) : array
	{
		$allowedArray 	= [];
		$option 		= static::checkGlobal($option);
		foreach ($allowedParams as $param) $allowedArray[$param] = $option[$param] ?? NULL;
		return $allowedArray;
	}
final public static function allowedParams ( array $ allowedParams = [ ] , string $ option ) : array { $ allowedArray = [ ] ; $ option = static :: checkGlobal ( $ option ) ; foreach ( $ allowedParams as $ param ) $ allowedArray [ $ param ] = $ option [ $ param ] ?? NULL ; return $ allowedArray ; }
Used for whitelisting super globals.
@param array $allowedParams
@param string $option
@return array
Used for whitelisting super globals .