• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mpyw / laravel-database-advisory-lock / 13646006723

04 Mar 2025 04:06AM UTC coverage: 100.0% (+0.6%) from 99.401%
13646006723

push

github

mpyw
refactor: 💡 Remove useless branch

1 of 1 new or added line in 1 file covered. (100.0%)

164 of 164 relevant lines covered (100.0%)

95.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Contracts/LockerFactory.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Mpyw\LaravelDatabaseAdvisoryLock\Contracts;
6

7
/**
8
 * interface LockerFactory
9
 *
10
 * Entrypoint used from the mix-in AdvisoryLocks trait.
11
 * Underlying locker instances are managed as singletons.
12
 */
13
interface LockerFactory
14
{
15
    /**
16
     * Create a transaction-level locker or return existing one.
17
     */
18
    public function forTransaction(): TransactionLocker;
19

20
    /**
21
     * Create a session-level locker or return existing one.
22
     */
23
    public function forSession(): SessionLocker;
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc