‪TYPO3CMS  10.4
DummyLock.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
24 {
28  public static function ‪getCapabilities()
29  {
31  }
32 
36  public static function ‪getPriority()
37  {
38  return 100;
39  }
40 
44  public function ‪__construct($subject)
45  {
46  }
47 
54  public function ‪acquire($mode = self::LOCK_CAPABILITY_EXCLUSIVE)
55  {
56  return false;
57  }
58 
64  public function ‪release()
65  {
66  return false;
67  }
68 
74  public function ‪isAcquired()
75  {
76  return false;
77  }
78 
82  public function ‪destroy()
83  {
84  }
85 }
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures
Definition: DummyLock.php:16
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface
Definition: LockingStrategyInterface.php:26
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_EXCLUSIVE
‪const LOCK_CAPABILITY_EXCLUSIVE
Definition: LockingStrategyInterface.php:30
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\destroy
‪destroy()
Definition: DummyLock.php:82
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\isAcquired
‪bool isAcquired()
Definition: DummyLock.php:74
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock
Definition: DummyLock.php:24
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\release
‪bool release()
Definition: DummyLock.php:64
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\acquire
‪bool acquire($mode=self::LOCK_CAPABILITY_EXCLUSIVE)
Definition: DummyLock.php:54
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\getPriority
‪static int getPriority()
Definition: DummyLock.php:36
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\getCapabilities
‪static int getCapabilities()
Definition: DummyLock.php:28
‪TYPO3\CMS\Core\Tests\Unit\Locking\Fixtures\DummyLock\__construct
‪__construct($subject)
Definition: DummyLock.php:44