mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
24 lines
529 B
PHP
24 lines
529 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Contracts\Plugins;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
interface HandlesArguments
|
|
{
|
|
/**
|
|
* Allows to handle custom command line arguments.
|
|
*
|
|
* PLEASE NOTE: it is necessary to remove any custom argument from the array
|
|
* because otherwise the application will complain about them
|
|
*
|
|
* @param array<int, string> $arguments
|
|
*
|
|
* @return array<int, string> the updated list of arguments
|
|
*/
|
|
public function handleArguments(array $arguments): array;
|
|
}
|