You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StatusTrait.php 381B

3 jaren geleden
3 jaren geleden
3 jaren geleden
3 jaren geleden
3 jaren geleden
12345678910111213141516171819202122232425
  1. <?php
  2. namespace Lc\SovBundle\Doctrine\Extension;
  3. use Doctrine\ORM\Mapping as ORM;
  4. trait StatusTrait
  5. {
  6. /**
  7. * @ORM\Column(type="float")
  8. */
  9. protected $status;
  10. public function getStatus(): ?float
  11. {
  12. return $this->status;
  13. }
  14. public function setStatus(float $status): self
  15. {
  16. $this->status = $status;
  17. return $this;
  18. }
  19. }