<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\CategoryBundle\Entity;
/**
* CategoryMeta.
*/
class CategoryMeta implements CategoryMetaInterface
{
/**
* @var string
*/
protected $key;
/**
* @var string
*/
protected $value;
/**
* @var string
*/
protected $locale;
/**
* @var int
*/
protected $id;
/**
* @var CategoryInterface
*/
protected $category;
public function setKey($key)
{
$this->key = $key;
return $this;
}
public function getKey()
{
return $this->key;
}
public function setValue($value)
{
$this->value = $value;
return $this;
}
public function getValue()
{
return $this->value;
}
public function setLocale($locale)
{
$this->locale = $locale;
return $this;
}
public function getLocale()
{
return $this->locale;
}
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
return $this;
}
public function setCategory(CategoryInterface $category)
{
$this->category = $category;
return $this;
}
public function getCategory()
{
return $this->category;
}
}