private function getRoleIds()
    {
        $assign_to_roles = $this->option('assign-to-roles');

        if ($assign_to_roles) {
            $role_ids = explode(',', $assign_to_roles);

            return array_map('intval', $role_ids);
        }

        return [];
    }
private function getRoleIds()
    {
        $assign_to_roles = $this->option('assign-to-roles');

        if ($assign_to_roles) {
            $role_ids = explode(',', $assign_to_roles);

            return array_map('intval', $role_ids);
        }

        return [];
    }
private function getRoleIds ( ) { $ assign_to_roles = $ this -> option ( 'assign-to-roles' ) ; if ( $ assign_to_roles ) { $ role_ids = explode ( ',' , $ assign_to_roles ) ; return array_map ( 'intval' , $ role_ids ) ; } return [ ] ; }
Parse role ids from the command option and return them as array if ids

@return array
Parse role ids from the command option and return them as array if ids