1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace DMT\Insolvency\Soap\Request; |
||
4 | |||
5 | use DMT\Insolvency\Soap\Request; |
||
6 | use JMS\Serializer\Annotation as JMS; |
||
7 | use Symfony\Component\Validator\Constraints as Assert; |
||
8 | |||
9 | /** |
||
10 | * Class SearchInsolvencyID |
||
11 | * |
||
12 | * @JMS\XmlNamespace("http://www.rechtspraak.nl/namespaces/cir01") |
||
13 | * @JMS\XmlRoot("searchInsolvencyID", namespace="http://www.rechtspraak.nl/namespaces/cir01") |
||
0 ignored issues
–
show
|
|||
14 | */ |
||
0 ignored issues
–
show
|
|||
15 | class SearchInsolvencyID implements Request |
||
16 | { |
||
17 | /** |
||
0 ignored issues
–
show
|
|||
18 | * @Assert\NotNull |
||
19 | * @Assert\Regex("~[F|S|R]\.(\d{2}/){0,1}\d{2}/\d{1,4}~") |
||
20 | * |
||
21 | * @JMS\SerializedName("insolvencyID") |
||
22 | * @JMS\Type("string") |
||
23 | * @JMS\XmlElement(cdata=false) |
||
24 | * |
||
25 | * @var string $insolvencyID |
||
26 | */ |
||
27 | public $insolvencyID; |
||
28 | |||
29 | /** |
||
0 ignored issues
–
show
|
|||
30 | * @Assert\Choice(callback="DMT\Insolvency\Validation\Court::getListValues") |
||
31 | * |
||
32 | * @JMS\SerializedName("court") |
||
33 | * @JMS\Type("string") |
||
34 | * @JMS\XmlElement(cdata=false, namespace="http://www.rechtspraak.nl/namespaces/cir01") |
||
35 | * |
||
36 | * @var string $court |
||
37 | */ |
||
38 | public $court; |
||
39 | } |
||
40 |