mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 14:37:29 +02:00
feat(tia): continues to work on poc
This commit is contained in:
20
src/Contracts/Plugins/AfterEachable.php
Normal file
20
src/Contracts/Plugins/AfterEachable.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Contracts\Plugins;
|
||||
|
||||
/**
|
||||
* Called at the start of `tearDown`. Return `false` to skip the framework
|
||||
* tearDown, afterEach chain, and method-level cleanup.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
interface AfterEachable
|
||||
{
|
||||
/**
|
||||
* @param string $filename Absolute path of the test file.
|
||||
* @param string $testId Fully-qualified `Class::method` identifier.
|
||||
*/
|
||||
public function afterEach(string $filename, string $testId): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user