@@ 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); |
|
@@ 203-206 (lines=4) @@ | ||
200 | $controllerClassName = get_class($controller); |
|
201 | $metadata = $this->getMetadataReader()->loadMetadataForAction($controllerClassName, $actionMethod); |
|
202 | ||
203 | if (!$metadata instanceof MetadataInterface) { |
|
204 | $errMsg = sprintf('Metadata not implement %s', MetadataInterface::class); |
|
205 | throw new Exception\InvalidMetadataException($errMsg); |
|
206 | } |
|
207 | ||
208 | $entryIdParam = $metadata->getEntryIdRouterParam(); |
|
209 | return $routeMatch->getParam($entryIdParam, null); |