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; }
尋找差異