Skip to content

Commit af90794

Browse files
committed
added semaphore factory interface
1 parent 1a45a9a commit af90794

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* This file is part of the Neo4j PHP Client and Driver package.
7+
*
8+
* (c) Nagels <https://nagels.tech>
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
*/
13+
14+
namespace Laudis\Neo4j\Contracts;
15+
16+
use Laudis\Neo4j\Databags\DriverConfiguration;
17+
use Psr\Http\Message\UriInterface;
18+
19+
interface SemaphoreFactoryInterface
20+
{
21+
public function create(UriInterface $uri, DriverConfiguration $config): SemaphoreInterface;
22+
}

0 commit comments

Comments
 (0)