for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TPG\Pcflib\Categories;
class Clothing extends Category
{
protected $requiredAttributes = [
'AgeGroup',
'Colour',
'Gender',
'Size',
];
public function ageGroup(string $ageGroup)
$this->attributes['AgeGroup'] = $ageGroup;
return $this;
}
public function colour(string $colour)
$this->attributes['Colour'] = $colour;
public function gender(string $gender)
$this->attributes['Gender'] = $gender;
public function size(string $size)
$this->attributes['Size'] = $size;
public function material(string $material)
$this->attributes['Material'] = $material;
public function pattern(string $pattern)
$this->attributes['Pattern'] = $pattern;
public function sizeType(string $sizeType)
$this->attributes['SizeType'] = $sizeType;
public function style(string $style)
$this->attributes['style'] = $style;