mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
feat: always use attributes instead of annotations
This commit is contained in:
19
src/Factories/Attribute.php
Normal file
19
src/Factories/Attribute.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Factories;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class Attribute
|
||||
{
|
||||
/**
|
||||
* @param iterable<int, string> $arguments
|
||||
*/
|
||||
public function __construct(public string $name, public iterable $arguments = [])
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user