src/Entity/Parameter.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ParameterRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sherlockode\ConfigurationBundle\Model\Parameter as BaseParameter;
  6. /**
  7.  * @ORM\Entity(repositoryClass=ParameterRepository::class)
  8.  */
  9. class Parameter extends BaseParameter
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     protected $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     protected $path;
  21.     /**
  22.      * @ORM\Column(type="text", nullable=true)
  23.      */
  24.     protected $value;
  25.     /**
  26.      * @return int
  27.      */
  28.     public function getId()
  29.     {
  30.         return $this->id;
  31.     }
  32.     /**
  33.      * @return string
  34.      */
  35.     public function getPath()
  36.     {
  37.         return $this->path;
  38.     }
  39.     /**
  40.      * @param string $path
  41.      *
  42.      * @return $this
  43.      */
  44.     public function setPath($path)
  45.     {
  46.         $this->path $path;
  47.         return $this;
  48.     }
  49.     /**
  50.      * @return string
  51.      */
  52.     public function getValue()
  53.     {
  54.         return $this->value;
  55.     }
  56.     /**
  57.      * @param string $value
  58.      *
  59.      * @return $this
  60.      */
  61.     public function setValue($value)
  62.     {
  63.         $this->value $value;
  64.         return $this;
  65.     }
  66. }