for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Devhelp\Piwik\Api\Param\Segment\Operator;
class GenericOperator implements Operator
{
protected $field;
protected $value;
protected $operator;
public function __construct($field, $value, $operator)
$this->field = $field;
$this->value = $value;
$this->operator = $operator;
}
public function expression()
return $this->field . $this->operator . $this->value;