Ouzo\Db\WhereClause\ArrayWhereClause::__construct PHP Метод

__construct() публичный Метод

public __construct ( $where, $operator = 'AND' )
    public function __construct($where, $operator = 'AND')
    {
        foreach ($where as $column => $value) {
            if ($value === null) {
                $where[$column] = Restrictions::isNull();
            }
        }
        $this->where = $where;
        $this->values = Arrays::flatten(array_values($where));
        $this->operator = $operator;
    }