core/Language/Lang.php
public function replace( string $text, ... $replace ): string
	{
		$then = $this->package_context;
		return $this->format(
			$this->line($text),
			$then,
			count($replace) === 1 && is_array($replace[0]) ? $replace[0] : $replace
		);
	}
public function replace( string $text, ... $replace ): string
	{
		$then = $this->package_context;
		return $this->format(
			$this->line($text),
			$then,
			count($replace) === 1 && is_array($replace[0]) ? $replace[0] : $replace
		);
	}
public function replace ( string $ text , ... $ replace ) : string { $ then = $ this -> package_context ; return $ this -> format ( $ this -> line ( $ text ) , $ then , count ( $ replace ) === 1 && is_array ( $ replace [ 0 ] ) ? $ replace [ 0 ] : $ replace ) ; }
Get line and replace values

@param string $text
@param array ...$replace
@return string
Get line and replace values