PHP Class mageekguy\atoum\asserters\error

Inheritance: extends mageekguy\atoum\asserter
Afficher le fichier Open project: atoum/atoum Class Usage Examples

Protected Properties

Свойство Type Description
$message
$messageIsPattern
$score
$type

Méthodes publiques

Méthode Description
__construct ( mageekguy\atoum\asserter\generator $generator = null, mageekguy\atoum\test\score $score = null, mageekguy\atoum\locale $locale = null )
__get ( $asserter )
exists ( )
getAsString ( $errorType )
getMessage ( )
getScore ( )
getType ( )
messageIsPattern ( )
notExists ( )
setScore ( mageekguy\atoum\test\score $score = null )
setWith ( $message = null, $type = null )
setWithTest ( test $test )
withAnyMessage ( )
withAnyType ( )
withMessage ( $message )
withPattern ( $pattern )
withType ( $type )

Method Details

__construct() public méthode

public __construct ( mageekguy\atoum\asserter\generator $generator = null, mageekguy\atoum\test\score $score = null, mageekguy\atoum\locale $locale = null )
$generator mageekguy\atoum\asserter\generator
$score mageekguy\atoum\test\score
$locale mageekguy\atoum\locale

__get() public méthode

public __get ( $asserter )

exists() public méthode

public exists ( )

getAsString() public static méthode

public static getAsString ( $errorType )

getMessage() public méthode

public getMessage ( )

getScore() public méthode

public getScore ( )

getType() public méthode

public getType ( )

messageIsPattern() public méthode

public messageIsPattern ( )

notExists() public méthode

public notExists ( )

setScore() public méthode

public setScore ( mageekguy\atoum\test\score $score = null )
$score mageekguy\atoum\test\score

setWith() public méthode

public setWith ( $message = null, $type = null )

setWithTest() public méthode

public setWithTest ( test $test )
$test mageekguy\atoum\test

withAnyMessage() public méthode

public withAnyMessage ( )

withAnyType() public méthode

public withAnyType ( )

withMessage() public méthode

public withMessage ( $message )

withPattern() public méthode

public withPattern ( $pattern )

withType() public méthode

public withType ( $type )

Property Details

$message protected_oe property

protected $message

$messageIsPattern protected_oe property

protected $messageIsPattern

$score protected_oe property

protected $score

$type protected_oe property

protected $type