mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-08 22:13:45 +00:00
Add LockTokenCheckResultEnum for lock token validation results
- Introduced `LockTokenCheckResultEnum` with cases to handle various lock token validation outcomes: - `NO_LOCK_FOUND` - `LOCK_TOKEN_DO_NOT_MATCH` - `LOCK_TOKEN_DO_NOT_BELONG_TO_USER`.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\DocStoreBundle\Service\Lock;
|
||||
|
||||
enum LockTokenCheckResultEnum
|
||||
{
|
||||
case NO_LOCK_FOUND;
|
||||
case LOCK_TOKEN_DO_NOT_MATCH;
|
||||
|
||||
case LOCK_TOKEN_DO_NOT_BELONG_TO_USER;
|
||||
}
|
||||
Reference in New Issue
Block a user