PHP Class Eloquent\Phony\Verification\Exception\InvalidSingularCardinalityException

Inheritance: extends Exceptio\Exception, implements InvalidCardinalityException
Mostrar archivo Open project: eloquent/phony

Public Methods

Method Description
__construct ( int\tuple $cardinality ) Construct a new invalid singular cardinality exception.
cardinality ( ) : int\tuple Get the cardinality.

Method Details

__construct() public method

Construct a new invalid singular cardinality exception.
public __construct ( int\tuple $cardinality )
$cardinality int\tuple

cardinality() public method

Get the cardinality.
public cardinality ( ) : int\tuple
return int\tuple