@@ 131-134 (lines=4) @@ | ||
128 | ||
129 | $metadata = $this->getMetadataReader()->loadMetadataForAction($controllerClassName, $actionMethod); |
|
130 | ||
131 | if (!$metadata instanceof MetadataInterface) { |
|
132 | $errMsg = sprintf('Metadata not implement %s', MetadataInterface::class); |
|
133 | throw new Exception\InvalidMetadataException($errMsg); |
|
134 | } |
|
135 | ||
136 | $workflowManagerNameParam = $metadata->getWorkflowManagerNameRouterParam(); |
|
137 | $workflowManagerNameFromRoute = $routeMatch->getParam($workflowManagerNameParam, null); |
|
@@ 269-272 (lines=4) @@ | ||
266 | $controllerClassName = get_class($controller); |
|
267 | $metadata = $this->getMetadataReader()->loadMetadataForAction($controllerClassName, $actionMethod); |
|
268 | ||
269 | if (!$metadata instanceof MetadataInterface) { |
|
270 | $errMsg = sprintf('Metadata not implement %s', MetadataInterface::class); |
|
271 | throw new Exception\InvalidMetadataException($errMsg); |
|
272 | } |
|
273 | ||
274 | $entryIdParam = $metadata->getEntryIdRouterParam(); |
|
275 | $entryId = $routeMatch->getParam($entryIdParam, null); |