1 | <?php namespace GenericCollections\Exceptions; |
||
14 | abstract class AbstractInvalidTypeException extends GenericCollectionsException |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * This property define the name of the property |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $propertyName = ""; |
||
22 | |||
23 | /** |
||
24 | * Invalid Property Type |
||
25 | * |
||
26 | * @param string $container Description of the container, like 'Map' |
||
27 | * @param string $expectedType Description of the expected type |
||
28 | * @param mixed $source Object name or object that throws the exception |
||
29 | * @param int $code Exception code |
||
30 | * @param \Exception|null $previous Previous exception |
||
31 | */ |
||
32 | 11 | public function __construct($container, $expectedType, $source, $code = 0, \Exception $previous = null) |
|
38 | } |
||
39 |