Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 7 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
12 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
36 lignes
Copier tout
14 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
33 lignes
Copier tout
<?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)
*/
*/
Copier
Copié
Copier
Copié
namespace Nette\
Application
;
declare(strict_types=1);
namespace Nette\
Routing
;
use Nette;
use Nette;
/**
/**
* The bi-directional router.
* The bi-directional router.
*/
*/
Copier
Copié
Copier
Copié
interface
IRouter
interface
Router // Nette\Application\
IRouter
still exists
{
{
Copier
Copié
Copier
Copié
/**
only matching route
*/
/**
for back compatibility
*/
const ONE_WAY = 0b0001;
public
const ONE_WAY = 0b0001;
/** @deprecated */
const SECURED = 0b0010;
/**
/**
Copier
Copié
Copier
Copié
* Maps HTTP request to
a Request object.
* Maps HTTP request to
an array.
* @return Request|null
*/
*/
Copier
Copié
Copier
Copié
function match(Nette\Http\IRequest $httpRequest)
;
function match(Nette\Http\IRequest $httpRequest)
: ?array
;
/**
/**
Copier
Copié
Copier
Copié
* Constructs absolute URL from
Request object.
* Constructs absolute URL from
array.
* @return string|null
*/
*/
Copier
Copié
Copier
Copié
function constructUrl(
Request $appRequest
, Nette\Http\
Url
$refUrl)
;
function constructUrl(
array $params
, Nette\Http\
UrlScript
$refUrl)
: ?string
;
}
}
Différences enregistrées
Texte d'origine
Ouvrir un fichier
<?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); }
Texte modifié
Ouvrir un fichier
<?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; }
Trouver la différence