mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
Create isSigned method in EntityWorkflowStepSignature.php
Refactorization and ease of use in template and workflow controller
This commit is contained in:
@@ -135,4 +135,9 @@ class EntityWorkflowStepSignature implements TrackCreationInterface, TrackUpdate
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isSigned(): bool
|
||||
{
|
||||
return EntityWorkflowSignatureStateEnum::SIGNED == $this->getState();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user