|
@@ -55,14 +55,14 @@ |
|
|
block discarded – undo |
|
55
|
55
|
// all of the exceptions that our library can create, and the means |
|
56
|
56
|
// to create them |
|
57
|
57
|
$ourExceptions = [ |
|
58
|
|
- 'ContainerIsReadOnly::newFromInputParameter' => [ ContainerIsReadOnly::class, 'newFromInputParameter' ], |
|
59
|
|
- 'ContainerIsReadOnly::newFromVar' => [ ContainerIsReadOnly::class, 'newFromVar' ], |
|
60
|
|
- 'NoSuchFactory::newFromInputParameter' => [ NoSuchFactory::class, 'newFromInputParameter' ], |
|
61
|
|
- 'NoSuchFactory::newFromVar' => [ NoSuchFactory::class, 'newFromVar' ], |
|
62
|
|
- 'NotAFactory::newFromInputParameter' => [ NotAFactory::class, 'newFromInputParameter' ], |
|
63
|
|
- 'NotAFactory::newFromVar' => [ NotAFactory::class, 'newFromVar' ], |
|
64
|
|
- 'NotAListOfFactories::newFromInputParameter' => [ NotAListOfFactories:: class, 'newFromInputParameter' ], |
|
65
|
|
- 'NotAListOfFactories::newFromVar' => [ NotAListOfFactories:: class, 'newFromVar' ], |
|
|
58
|
+ 'ContainerIsReadOnly::newFromInputParameter' => [ContainerIsReadOnly::class, 'newFromInputParameter'], |
|
|
59
|
+ 'ContainerIsReadOnly::newFromVar' => [ContainerIsReadOnly::class, 'newFromVar'], |
|
|
60
|
+ 'NoSuchFactory::newFromInputParameter' => [NoSuchFactory::class, 'newFromInputParameter'], |
|
|
61
|
+ 'NoSuchFactory::newFromVar' => [NoSuchFactory::class, 'newFromVar'], |
|
|
62
|
+ 'NotAFactory::newFromInputParameter' => [NotAFactory::class, 'newFromInputParameter'], |
|
|
63
|
+ 'NotAFactory::newFromVar' => [NotAFactory::class, 'newFromVar'], |
|
|
64
|
+ 'NotAListOfFactories::newFromInputParameter' => [NotAListOfFactories:: class, 'newFromInputParameter'], |
|
|
65
|
+ 'NotAListOfFactories::newFromVar' => [NotAListOfFactories:: class, 'newFromVar'], |
|
66
|
66
|
]; |
|
67
|
67
|
|
|
68
|
68
|
// special case - we have to pass $this into our parent constructor |