src/Handler/ForkHandler.php 1 location
|
@@ 125-127 (lines=3) @@
|
122 |
|
$result = $cache->get($key); |
123 |
|
$cache->release($key); |
124 |
|
|
125 |
|
if (is_object($result) && (is_subclass_of($result, '\\Error') || is_subclass_of($result, '\\Exception'))) { |
126 |
|
throw $result; |
127 |
|
} |
128 |
|
|
129 |
|
return $result; |
130 |
|
} |
src/Handler/PThreadHandler.php 1 location
|
@@ 95-97 (lines=3) @@
|
92 |
|
public function getResult() |
93 |
|
{ |
94 |
|
$result = $this->result; |
95 |
|
if (is_object($result) && (is_subclass_of($result, '\\Error') || is_subclass_of($result, '\\Exception'))) { |
96 |
|
throw $result; |
97 |
|
} |
98 |
|
|
99 |
|
return $result; |
100 |
|
} |