public function setData(array $data = [])
    {
        $this->default = empty($data);

        $this->data = array_replace([
            static::VISIBLE_COLUMNS => [],
            static::MAX_PER_PAGE    => null,
            static::CONFIG          => null,
            static::PAGE_NUM        => null,
            static::SORT            => null,
            static::ADD_FILTER      => null,
            static::REMOVE_FILTER   => null,
            static::IDENTIFIERS     => [],
            static::ALL             => null,
            static::BATCH           => null,
            static::ACTION          => null,
            static::EXPORT          => null,
            static::FORMAT          => null,
            static::PROFILE         => [],
        ], $data);
    }
public function setData(array $data = [])
    {
        $this->default = empty($data);

        $this->data = array_replace([
            static::VISIBLE_COLUMNS => [],
            static::MAX_PER_PAGE    => null,
            static::CONFIG          => null,
            static::PAGE_NUM        => null,
            static::SORT            => null,
            static::ADD_FILTER      => null,
            static::REMOVE_FILTER   => null,
            static::IDENTIFIERS     => [],
            static::ALL             => null,
            static::BATCH           => null,
            static::ACTION          => null,
            static::EXPORT          => null,
            static::FORMAT          => null,
            static::PROFILE         => [],
        ], $data);
    }
public function setData ( array $ data = [ ] ) { $ this -> default = empty ( $ data ) ; $ this -> data = array_replace ( [ static :: VISIBLE_COLUMNS => [ ] , static :: MAX_PER_PAGE => null , static :: CONFIG => null , static :: PAGE_NUM => null , static :: SORT => null , static :: ADD_FILTER => null , static :: REMOVE_FILTER => null , static :: IDENTIFIERS => [ ] , static :: ALL => null , static :: BATCH => null , static :: ACTION => null , static :: EXPORT => null , static :: FORMAT => null , static :: PROFILE => [ ] , ] , $ data ) ; }
Sets the data.

@param array $data
Sets the data .