lms/vendor/pestphp/pest/src/Configuration/Presets.php
2025-12-15 12:26:23 +01:00

20 lines
330 B
PHP

<?php
declare(strict_types=1);
namespace Pest\Configuration;
use Closure;
use Pest\Preset;
final class Presets
{
/**
* Creates a custom preset instance, and adds it to the list of presets.
*/
public function custom(string $name, Closure $execute): void
{
Preset::custom($name, $execute);
}
}