api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
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.

ColumnCondition.php 682B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Tqdev\PhpCrudApi\Record\Condition;
  3. use Tqdev\PhpCrudApi\Column\Reflection\ReflectedColumn;
  4. class ColumnCondition extends Condition
  5. {
  6. private $column;
  7. private $operator;
  8. private $value;
  9. public function __construct(ReflectedColumn $column, string $operator, string $value)
  10. {
  11. $this->column = $column;
  12. $this->operator = $operator;
  13. $this->value = $value;
  14. }
  15. public function getColumn(): ReflectedColumn
  16. {
  17. return $this->column;
  18. }
  19. public function getOperator(): string
  20. {
  21. return $this->operator;
  22. }
  23. public function getValue(): string
  24. {
  25. return $this->value;
  26. }
  27. }