Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
kahlan
matcher
ToThrow
actual
kahlan\matcher\ToThrow::actual PHP Méthode
ToThrow Class Documentation
Afficher le fichier
Open project: crysalead/kahlan
actual()
public
static
méthode
Normalise the actual value as an Exception.
public
static
actual
(
mixed
$actual
) :
mixed
$actual
mixed
The actual value to be normalized.
Résultat
mixed
The normalised value.
public static function actual($actual) { try { $actual(); } catch (Exception $e) { return $e; } }
ToThrow
_buildDescription
_matchException
_sameMessage
actual
description
expected
match