value = $value; } /** * Get object instance * * @static * @access public * @param mixed $value * @return static */ public static function getInstance($value = null) { return new static($value); } /** * Set query * * @access public * @param Table $query * @return \Kanboard\Core\Filter\FilterInterface */ public function withQuery(Table $query) { $this->query = $query; return $this; } /** * Set the value * * @access public * @param string $value * @return \Kanboard\Core\Filter\FilterInterface */ public function withValue($value) { $this->value = $value; return $this; } }