minor #33204 [Workflow] Added doc block for Registry::supports() (derrabus)

This PR was merged into the 4.3 branch.

Discussion
----------

[Workflow] Added doc block for Registry::supports()

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

Follows #33197, prepares #33198.

Commits
-------

c76fd13848 Added doc block for Registry::supports().
This commit is contained in:
Fabien Potencier 2019-08-18 20:04:08 +02:00
commit aa53a71e03
1 changed files with 5 additions and 0 deletions

View File

@ -82,6 +82,11 @@ class Registry
return $matched;
}
/**
* @param WorkflowSupportStrategyInterface $supportStrategy
* @param object $subject
* @param string|null $workflowName
*/
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, $workflowName): bool
{
if (null !== $workflowName && $workflowName !== $workflow->getName()) {