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 SearchByDate |
||
11 | * |
||
12 | * @JMS\XmlNamespace("http://www.rechtspraak.nl/namespaces/cir01") |
||
13 | * @JMS\XmlRoot("searchByDate", namespace="http://www.rechtspraak.nl/namespaces/cir01") |
||
0 ignored issues
–
show
|
|||
14 | */ |
||
0 ignored issues
–
show
|
|||
15 | class SearchByDate implements Request |
||
16 | { |
||
17 | /** |
||
0 ignored issues
–
show
|
|||
18 | * @Assert\NotNull |
||
19 | * |
||
20 | * @JMS\SerializedName("date") |
||
21 | * @JMS\Type("DateTime<'Y-m-d\TH:i:sP'>") |
||
22 | * @JMS\XmlElement(cdata=false) |
||
23 | * |
||
24 | * @var \DateTime $date |
||
25 | */ |
||
26 | public $date; |
||
27 | |||
28 | /** |
||
0 ignored issues
–
show
|
|||
29 | * @Assert\NotNull |
||
30 | * @Assert\Choice(callback="DMT\Insolvency\Validation\Court::getListValues") |
||
31 | * |
||
32 | * @JMS\SerializedName("court") |
||
33 | * @JMS\Type("string") |
||
34 | * @JMS\XmlElement(namespace="http://www.rechtspraak.nl/namespaces/cir01") |
||
35 | * |
||
36 | * @var string $court |
||
37 | */ |
||
38 | public $court; |
||
39 | |||
40 | /** |
||
0 ignored issues
–
show
|
|||
41 | * @Assert\Choice(callback="DMT\Insolvency\Validation\PublicationType::getListValues", multiple=true, max=7) |
||
42 | * |
||
43 | * @JMS\SerializedName("pubType") |
||
44 | * @JMS\Type("string") |
||
45 | * @JMS\XmlElement(namespace="http://www.rechtspraak.nl/namespaces/cir01") |
||
46 | * |
||
47 | * @var string $pubType |
||
48 | */ |
||
49 | public $pubType; |
||
50 | } |
||
51 |