Json Schema transformer is done
Form builder stuck on infinite recurrsion
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Lucent\JsonSchema\Property;
|
||||
|
||||
use Lucent\Primitive\Collection;
|
||||
use PhpOption\Option;
|
||||
|
||||
class RefProperty implements Property
|
||||
{
|
||||
/**
|
||||
* @param RefType $type
|
||||
* @param string $id
|
||||
* @param Option<string> $title
|
||||
* @param Option<string> $description
|
||||
* @param Collection<string> $_ref
|
||||
* @param Option<int> $minItems
|
||||
* @param Option<int> $maxItems
|
||||
* @param Option<string> $comment
|
||||
*/
|
||||
public function __construct(
|
||||
public RefType $type,
|
||||
public string $id,
|
||||
public Option $title,
|
||||
public Option $description,
|
||||
public Collection $_ref,
|
||||
public Option $minItems,
|
||||
public Option $maxItems,
|
||||
public Option $comment,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user