feat: initial work on presets

This commit is contained in:
Nuno Maduro
2024-06-08 20:54:46 +01:00
parent c7bcb6eb7b
commit 60b1e63c23
9 changed files with 156 additions and 6 deletions

View File

@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace Pest\Contracts;
use Pest\Arch\Contracts\ArchExpectation;
use Pest\PendingCalls\TestCall;
/**
* @internal
*/
interface ArchPreset
{
/**
* Boots the arch preset.
*
* @param array<int, string> $baseNamespaces
*/
public function boot(TestCall $testCall, array $baseNamespaces): TestCall|ArchExpectation;
}