PHP Class mageekguy\atoum\asserters\error

Inheritance: extends mageekguy\atoum\asserter
Show file Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$message
$messageIsPattern
$score
$type

Public Methods

Method 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 method

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 method

public __get ( $asserter )

exists() public method

public exists ( )

getAsString() public static method

public static getAsString ( $errorType )

getMessage() public method

public getMessage ( )

getScore() public method

public getScore ( )

getType() public method

public getType ( )

messageIsPattern() public method

public messageIsPattern ( )

notExists() public method

public notExists ( )

setScore() public method

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

setWith() public method

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

setWithTest() public method

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

withAnyMessage() public method

public withAnyMessage ( )

withAnyType() public method

public withAnyType ( )

withMessage() public method

public withMessage ( $message )

withPattern() public method

public withPattern ( $pattern )

withType() public method

public withType ( $type )

Property Details

$message protected property

protected $message

$messageIsPattern protected property

protected $messageIsPattern

$score protected property

protected $score

$type protected property

protected $type