for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Noitran\RQL\Parsers;
/**
* Class Model.
*/
class Model
{
* @var string
protected $relation;
protected $field;
protected $expression;
protected $dataType;
* @var mixed
protected $value;
* @return string
public function getRelation(): ?string
return $this->relation;
}
* @param string $relation
*
* @return Model
public function setRelation(?string $relation): self
$this->relation = $relation;
return $this;
public function getField(): string
return $this->field;
* @param string $field
public function setField(string $field): self
$this->field = $field;
public function getExpression(): string
return $this->expression;
* @param string $expression
public function setExpression(string $expression): self
$this->expression = $expression;
public function getDataType(): string
return $this->dataType;
* @param string $dataType
public function setDataType(string $dataType): self
$this->dataType = $dataType;
* @return mixed
public function getValue()
return $this->value;
* @param $value
public function setValue($value): self
$this->value = $value;