Skip to content

Commit 37e93cc

Browse files
committed
Add BuilderInterface.php.
1 parent 2adb9e8 commit 37e93cc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Builder/BuilderInterface.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace drupol\phptree\Builder;
6+
7+
use drupol\phptree\Node\NodeInterface;
8+
9+
/**
10+
* Interface BuilderInterface.
11+
*/
12+
interface BuilderInterface
13+
{
14+
/**
15+
* @param iterable<NodeInterface> $nodes
16+
*
17+
* @return \drupol\phptree\Node\NodeInterface
18+
*/
19+
public static function create(iterable $nodes): NodeInterface;
20+
}

0 commit comments

Comments
 (0)