for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the OneGuard DynamicConfigurationBundle.
*
* (c) OneGuard <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace OneGuard\Bundle\DynamicConfigurationBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity()
class ConfigurationValue {
* @var string
* @ORM\Id()
* @ORM\Column(name="`key`", nullable=false, type="string", length=64)
* @Assert\NotNull()
* @Assert\NotBlank()
* @Assert\Length(max="64")
private $key;
* @ORM\Column(name="`value`", nullable=false, type="text")
private $value;
* @return string|null
public function getKey() {
return $this->key;
}
* @param string|null $key
public function setKey(string $key = null) {
$this->key = $key;
public function getValue() {
return $this->value;
* @param string|null $value
public function setValue(string $value = null) {
$this->value = $value;