@@ 133-136 (lines=4) @@ | ||
130 | public function getWorkflow($name, $validate = true) |
|
131 | { |
|
132 | $name = (string)$name; |
|
133 | if (!array_key_exists($name, $this->workflows)) { |
|
134 | $errMsg = sprintf('Нет workflow с именем %s', $name); |
|
135 | throw new FactoryException($errMsg); |
|
136 | } |
|
137 | $c = $this->workflows[$name]; |
|
138 | ||
139 | if (null !== $c->descriptor) { |
@@ 271-274 (lines=4) @@ | ||
268 | public function getWorkflow($name, $validate = true) |
|
269 | { |
|
270 | $name = (string)$name; |
|
271 | if (!array_key_exists($name, $this->workflows)) { |
|
272 | $errMsg = sprintf('Нет workflow с именем %s', $name); |
|
273 | throw new FactoryException($errMsg); |
|
274 | } |
|
275 | $c = $this->workflows[$name]; |
|
276 | ||
277 | if (null !== $c->descriptor) { |