16 lines
415 B
PHP
16 lines
415 B
PHP
<?php
|
|
|
|
namespace Lean\Console\Attribute;
|
|
|
|
#[\Attribute(flags: \Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD)]
|
|
readonly class Test
|
|
{
|
|
public function __construct(
|
|
public string $name,
|
|
public ? string $after = null,
|
|
public string $method = "GET",
|
|
public array $arguments = [],
|
|
public array $withParsedBody = [],
|
|
public array $withQueryParams = [],
|
|
) {}
|
|
} |