| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ODataPropertyContent |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The collection of properties. |
||
| 14 | * |
||
| 15 | * @var ODataProperty[] |
||
| 16 | */ |
||
| 17 | public $properties = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ODataPropertyContent constructor. |
||
| 21 | * @param ODataProperty[] $properties |
||
| 22 | */ |
||
| 23 | public function __construct(array $properties = []) |
||
| 24 | { |
||
| 25 | $this->setPropertys($properties); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return ODataProperty[] |
||
| 30 | */ |
||
| 31 | public function getPropertys(): array |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param $newProperties ODataProperty[] |
||
| 38 | * @return ODataPropertyContent |
||
| 39 | */ |
||
| 40 | public function setPropertys(array $newProperties): self |
||
| 48 | } |
||
| 49 | } |
||
| 50 |