mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat: initial work on presets
This commit is contained in:
21
src/Contracts/ArchPreset.php
Normal file
21
src/Contracts/ArchPreset.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user