PHP Class mageekguy\atoum\asserters\exception

Inheritance: extends object
Afficher le fichier Open project: atoum/atoum Class Usage Examples

Protected Properties

Свойство Type Description
$lastValue

Méthodes publiques

Méthode Description
__get ( $asserter )
getLastValue ( )
hasCode ( $code, $failMessage = null )
hasDefaultCode ( $failMessage = null )
hasMessage ( $message, $failMessage = null )
hasNestedException ( exception $exception = null, $failMessage = null )
isInstanceOf ( $value, $failMessage = null )
setWith ( $value, $checkType = true )

Méthodes protégées

Méthode Description
check ( $value, $method )
getMessageAsserter ( )
valueIsSet ( $message = 'Exception is undefined' )

Private Methods

Méthode Description
isThrowable ( $value )

Method Details

__get() public méthode

public __get ( $asserter )

check() protected méthode

protected check ( $value, $method )

getLastValue() public static méthode

public static getLastValue ( )

getMessageAsserter() protected méthode

protected getMessageAsserter ( )

hasCode() public méthode

public hasCode ( $code, $failMessage = null )

hasDefaultCode() public méthode

public hasDefaultCode ( $failMessage = null )

hasMessage() public méthode

public hasMessage ( $message, $failMessage = null )

hasNestedException() public méthode

public hasNestedException ( exception $exception = null, $failMessage = null )
$exception exception

isInstanceOf() public méthode

public isInstanceOf ( $value, $failMessage = null )

setWith() public méthode

public setWith ( $value, $checkType = true )

valueIsSet() protected méthode

protected valueIsSet ( $message = 'Exception is undefined' )

Property Details

$lastValue protected_oe static_oe property

protected static $lastValue