id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets name. * * @param string $name * * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * Gets name. * * @return string */ public function getName() { return $this->name; } /** * Sets code. * * @param string $code * * @return $this */ public function setCode($code) { $this->code = $code; return $this; } /** * Gets code. * * @return string */ public function getCode() { return $this->code; } /** * NEED THIS FOR ELASTICA TRANSLATABLE * @return null */ public function getTranslatable(){ return null; } }