66 lines
981 B
PHP
66 lines
981 B
PHP
<?php
|
|
|
|
namespace AppBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Configuration
|
|
*
|
|
* @ORM\Table(name="configuration")
|
|
* @ORM\Entity
|
|
*/
|
|
class Configuration
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="option", type="string", length=255)
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
|
*/
|
|
private $option;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="value", type="string", length=255, nullable=false)
|
|
*/
|
|
private $value;
|
|
|
|
/**
|
|
* Set value
|
|
*
|
|
* @param string $value
|
|
*
|
|
* @return Configuration
|
|
*/
|
|
public function setValue($value)
|
|
{
|
|
$this->value = $value;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get value
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getValue()
|
|
{
|
|
return $this->value;
|
|
}
|
|
|
|
/**
|
|
* Get option
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getOption()
|
|
{
|
|
return $this->option;
|
|
}
|
|
}
|