/** * QueryFilterWhere constructor. * @param string $key sql table column * @param mixed $value value that filtered * @param string $cast_type Cast type: boolean, string, float, double */ public function __construct($key, $value, $cast_type = 'string') { parent::__construct($key, $value, $cast_type); $this->chooseOperator(); }