for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Stratadox\Pathfinder\Graph;
use Stratadox\ImmutableCollection\Appending;
use Stratadox\ImmutableCollection\ImmutableCollection;
use Stratadox\ImmutableCollection\Merging;
final class Roads extends ImmutableCollection implements Edges
{
use Appending, Merging;
protected function __construct(Edge ...$roads)
parent::__construct(...$roads);
}
public static function available(Edge ...$roads): Edges
return new self(...$roads);
public static function none(): Edges
return new self();
public function current(): Edge
return parent::current();