PHP Class Eloquent\Phony\Mock\Exception\InvalidTypeException

Inheritance: extends Exceptio\Exception, implements MockException
Datei anzeigen Open project: eloquent/phony

Public Methods

Method Description
__construct ( mixed $type, Exception $cause = null ) Construct a new invalid type exception.
type ( ) : mixed Get the type.

Method Details

__construct() public method

Construct a new invalid type exception.
public __construct ( mixed $type, Exception $cause = null )
$type mixed The type.
$cause Exception The cause, if available.

type() public method

Get the type.
public type ( ) : mixed
return mixed The type.