for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Application\Model;
use Doctrine\ORM\Mapping as ORM;
use Ecodev\Felix\Model\Traits\HasDescription;
/**
* Configuration
*
* @ORM\Entity(repositoryClass="Application\Repository\ConfigurationRepository")
*/
class Configuration extends AbstractModel
{
use HasDescription;
* @var string
* @ORM\Column(name="`key`", type="string", length=191, unique=true)
private $key;
* @ORM\Column(type="text")
private $value = '';
public function __construct(string $key = '')
$this->key = $key;
}
* Get key
public function getKey(): string
return $this->key;
* Set value
public function setValue(string $value): void
$this->value = $value;
* Get value
public function getValue(): string
return $this->value;