forked from christiankerl/WebServiceBundle
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathComplexType.php
More file actions
67 lines (56 loc) · 1.18 KB
/
ComplexType.php
File metadata and controls
67 lines (56 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/*
* This file is part of the BeSimpleSoapBundle.
*
* (c) Christian Kerl <christian-kerl@web.de>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace BeSimple\SoapBundle\ServiceDefinition\Annotation;
/**
* @Annotation
*/
class ComplexType extends Configuration
{
private $name;
private $value;
private $isNillable = false;
private $minOccurs = 1;
public function getName()
{
return $this->name;
}
public function getValue()
{
return $this->value;
}
public function isNillable()
{
return $this->isNillable;
}
public function setName($name)
{
$this->name = $name;
}
public function setValue($value)
{
$this->value = $value;
}
public function setNillable($isNillable)
{
$this->isNillable = (bool) $isNillable;
}
public function getAliasName()
{
return 'complextype';
}
public function getMinOccurs()
{
return $this->minOccurs;
}
public function setMinOccurs($minOccurs)
{
$this->minOccurs = (int) $minOccurs;
}
}