protected function pluckColumns(array $routes)
    {
        return array_map(function ($route) {
            return Arr::only($route, $this->getColumns());
        }, $routes);
    }
protected function pluckColumns(array $routes)
    {
        return array_map(function ($route) {
            return Arr::only($route, $this->getColumns());
        }, $routes);
    }
protected function pluckColumns ( array $ routes ) { return array_map ( function ( $ route ) { return Arr :: only ( $ route , $ this -> getColumns ( ) ) ; } , $ routes ) ; }
Remove unnecessary columns from the routes.

@param  array  $routes
@return array
Remove unnecessary columns from the routes .