public function setNames($names)
    {
        foreach ($this->columns as $key => $column) {
            Arr::set($names, $key, $column->getSingular());
        }

        return $names;
    }
public function setNames($names)
    {
        foreach ($this->columns as $key => $column) {
            Arr::set($names, $key, $column->getSingular());
        }

        return $names;
    }
public function setNames ( $ names ) { foreach ( $ this -> columns as $ key => $ column ) { Arr :: set ( $ names , $ key , $ column -> getSingular ( ) ) ; } return $ names ; }
Set columns names.

@param array $names
@return array
Set columns names .