protected function getGroupArgument()
    {
        $groups = explode(',', preg_replace('/\s+/', '', $this->argument('group')));

        return array_map(function ($group) {
            return preg_replace('/\\.[^.\\s]{3,4}$/', '', $group);
        }, $groups);
    }
protected function getGroupArgument()
    {
        $groups = explode(',', preg_replace('/\s+/', '', $this->argument('group')));

        return array_map(function ($group) {
            return preg_replace('/\\.[^.\\s]{3,4}$/', '', $group);
        }, $groups);
    }
protected function getGroupArgument ( ) { $ groups = explode ( ',' , preg_replace ( '/\s+/' , '' , $ this -> argument ( 'group' ) ) ) ; return array_map ( function ( $ group ) { return preg_replace ( '/\\.[^.\\s]{3,4}$/' , '' , $ group ) ; } , $ groups ) ; }
Get group argument.

@return array
Get group argument .