for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace KleijnWeb\SwaggerBundle\Tests\Functional\PetStore\Model\Resources;
class Category
{
/**
* @var int
*/
private $id;
* @var string
private $name;
* Category constructor.
*
* @param string $name
public function __construct(string $name)
$this->name = $name;
}
* @param int $id
* @return Category
public function setId(int $id): Category
$this->id = $id;
return $this;