@@ 109-112 (lines=4) @@ | ||
106 | ||
107 | $metadata = $this->getMetadataReader()->loadMetadataForAction($controllerClassName, $actionMethod); |
|
108 | ||
109 | if (!$metadata instanceof MetadataInterface) { |
|
110 | $errMsg = sprintf('Metadata not implement %s', MetadataInterface::class); |
|
111 | throw new Exception\InvalidMetadataException($errMsg); |
|
112 | } |
|
113 | ||
114 | $workflowManagerNameParam = $metadata->getWorkflowManagerNameRouterParam(); |
|
115 | $workflowManagerName = $routeMatch->getParam($workflowManagerNameParam, null); |
|
@@ 210-213 (lines=4) @@ | ||
207 | $controllerClassName = get_class($controller); |
|
208 | $metadata = $this->getMetadataReader()->loadMetadataForAction($controllerClassName, $actionMethod); |
|
209 | ||
210 | if (!$metadata instanceof MetadataInterface) { |
|
211 | $errMsg = sprintf('Metadata not implement %s', MetadataInterface::class); |
|
212 | throw new Exception\InvalidMetadataException($errMsg); |
|
213 | } |
|
214 | ||
215 | $entryIdParam = $metadata->getEntryIdRouterParam(); |
|
216 | return $routeMatch->getParam($entryIdParam, null); |