| Total Complexity | 8 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Clothing extends Category |
||
| 6 | { |
||
| 7 | protected $requiredAttributes = [ |
||
| 8 | 'AgeGroup', |
||
| 9 | 'Colour', |
||
| 10 | 'Gender', |
||
| 11 | 'Size', |
||
| 12 | ]; |
||
| 13 | |||
| 14 | public function ageGroup(string $ageGroup) |
||
| 18 | } |
||
| 19 | |||
| 20 | public function colour(string $colour) |
||
| 21 | { |
||
| 22 | $this->attributes['Colour'] = $colour; |
||
| 23 | return $this; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function gender(string $gender) |
||
| 27 | { |
||
| 28 | $this->attributes['Gender'] = $gender; |
||
| 29 | return $this; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function size(string $size) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function material(string $material) |
||
| 39 | { |
||
| 40 | $this->attributes['Material'] = $material; |
||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function pattern(string $pattern) |
||
| 48 | } |
||
| 49 | |||
| 50 | public function sizeType(string $sizeType) |
||
| 54 | } |
||
| 55 | |||
| 56 | public function style(string $style) |
||
| 60 | } |
||
| 61 | } |