1 | <?php |
||
25 | class ProviderNameCondition implements Condition |
||
26 | { |
||
27 | /** |
||
28 | * Provider name to check against. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | private $providerName; |
||
33 | |||
34 | /** |
||
35 | * ProviderNameCondition constructor. |
||
36 | * |
||
37 | * @param string $providerName |
||
38 | */ |
||
39 | public function __construct(string $providerName) |
||
43 | |||
44 | /** |
||
45 | * Get the provider name to check against. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getProviderName(): string |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function match(Workflow $workflow, EntityId $entityId, $entity): bool |
||
65 | } |
||
66 |