Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
7 years ago
Diff never expires
Clear
Export
Share
Explain
12 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
36 lines
Copy
14 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
33 lines
Copy
<?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)
*/
*/
Copy
Copied
Copy
Copied
namespace Nette\
Application
;
declare(strict_types=1);
namespace Nette\
Routing
;
use Nette;
use Nette;
/**
/**
* The bi-directional router.
* The bi-directional router.
*/
*/
Copy
Copied
Copy
Copied
interface
IRouter
interface
Router // Nette\Application\
IRouter
still exists
{
{
Copy
Copied
Copy
Copied
/**
only matching route
*/
/**
for back compatibility
*/
const ONE_WAY = 0b0001;
public
const ONE_WAY = 0b0001;
/** @deprecated */
const SECURED = 0b0010;
/**
/**
Copy
Copied
Copy
Copied
* Maps HTTP request to
a Request object.
* Maps HTTP request to
an array.
* @return Request|null
*/
*/
Copy
Copied
Copy
Copied
function match(Nette\Http\IRequest $httpRequest)
;
function match(Nette\Http\IRequest $httpRequest)
: ?array
;
/**
/**
Copy
Copied
Copy
Copied
* Constructs absolute URL from
Request object.
* Constructs absolute URL from
array.
* @return string|null
*/
*/
Copy
Copied
Copy
Copied
function constructUrl(
Request $appRequest
, Nette\Http\
Url
$refUrl)
;
function constructUrl(
array $params
, Nette\Http\
UrlScript
$refUrl)
: ?string
;
}
}
Saved diffs
Original text
Open file
<?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); }
Changed text
Open file
<?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; }
Find difference