for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Bukashk0zzzYmlGenerator
*
* (c) Denis Golubovskiy <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bukashk0zzz\YmlGenerator\Model;
/**
* Class Category
* @author Denis Golubovskiy <[email protected]>
class Category
{
* @var int
private $id;
private $parentId;
* @var string
private $name;
* @return int
public function getId()
return $this->id;
}
* @param int $id
* @return Category
public function setId($id)
$this->id = $id;
return $this;
public function getParentId()
return $this->parentId;
* @param int $parentId
public function setParentId($parentId)
$this->parentId = $parentId;
* @return string
public function getName()
return $this->name;
* @param string $name
public function setName($name)
$this->name = $name;