Cerys
3 weeks ago
3 changed files with 23 additions and 29 deletions
@ -1,24 +0,0 @@ |
|||
<?php |
|||
|
|||
namespace Darksparrow\AuxiliumSchemaBuilder\Attributes; |
|||
|
|||
use PhpParser\Node\Attribute; |
|||
use PhpParser\Node\Name; |
|||
|
|||
#[\Attribute] |
|||
class SchemaDocumentChildField extends Attribute |
|||
{ |
|||
public string $Comment; |
|||
public array $ValidSchemas; |
|||
|
|||
public function __construct( |
|||
string $Comment, |
|||
array $ValidSchemas = [], |
|||
) |
|||
{ |
|||
$this->Comment = $Comment; |
|||
$this->ValidSchemas = $ValidSchemas; |
|||
parent::__construct(new Name("SchemaDocumentChildField"), [], []); |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue