Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
7年前
差异永不过期
清除
导出
分享
解释
12 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
36 行
全部复制
14 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
33 行
全部复制
<?php
<?php
/**
/**
* This file is part of the Nette Framework (https://nette.org)
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
*/
复制
已复制
复制
已复制
namespace Nette\
Application
;
declare(strict_types=1);
namespace Nette\
Routing
;
use Nette;
use Nette;
/**
/**
* The bi-directional router.
* The bi-directional router.
*/
*/
复制
已复制
复制
已复制
interface
IRouter
interface
Router // Nette\Application\
IRouter
still exists
{
{
复制
已复制
复制
已复制
/**
only matching route
*/
/**
for back compatibility
*/
const ONE_WAY = 0b0001;
public
const ONE_WAY = 0b0001;
/** @deprecated */
const SECURED = 0b0010;
/**
/**
复制
已复制
复制
已复制
* Maps HTTP request to
a Request object.
* Maps HTTP request to
an array.
* @return Request|null
*/
*/
复制
已复制
复制
已复制
function match(Nette\Http\IRequest $httpRequest)
;
function match(Nette\Http\IRequest $httpRequest)
: ?array
;
/**
/**
复制
已复制
复制
已复制
* Constructs absolute URL from
Request object.
* Constructs absolute URL from
array.
* @return string|null
*/
*/
复制
已复制
复制
已复制
function constructUrl(
Request $appRequest
, Nette\Http\
Url
$refUrl)
;
function constructUrl(
array $params
, Nette\Http\
UrlScript
$refUrl)
: ?string
;
}
}
已保存差异
原始文本
打开文件
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ namespace Nette\Application; use Nette; /** * The bi-directional router. */ interface IRouter { /** only matching route */ const ONE_WAY = 0b0001; /** @deprecated */ const SECURED = 0b0010; /** * Maps HTTP request to a Request object. * @return Request|null */ function match(Nette\Http\IRequest $httpRequest); /** * Constructs absolute URL from Request object. * @return string|null */ function constructUrl(Request $appRequest, Nette\Http\Url $refUrl); }
更改后文本
打开文件
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare(strict_types=1); namespace Nette\Routing; use Nette; /** * The bi-directional router. */ interface Router // Nette\Application\IRouter still exists { /** for back compatibility */ public const ONE_WAY = 0b0001; /** * Maps HTTP request to an array. */ function match(Nette\Http\IRequest $httpRequest): ?array; /** * Constructs absolute URL from array. */ function constructUrl(array $params, Nette\Http\UrlScript $refUrl): ?string; }
查找差异