public function data($rows=null)
    {
        if ($rows!==null) {
            $this->rows = $rows;
            return $this;
        } else {
            return $this->rows;
        }
    }
public function data($rows=null)
    {
        if ($rows!==null) {
            $this->rows = $rows;
            return $this;
        } else {
            return $this->rows;
        }
    }
public function data ( $ rows = null ) { if ( $ rows !== null ) { $ this -> rows = $ rows ; return $ this ; } else { return $ this -> rows ; } }
Get or set data inside DataStore

If no parameter is input, the method will return all rows.
If rows parameter is input, method will save it

@param array $rows Rows of data

@return array Rows of data

@since 1.0.0
Get or set data inside DataStore