public function get_running_git_servers() {
		$plugins = Singleton::get_instance( 'Plugin', $this )->get_plugin_configs();
		$themes  = Singleton::get_instance( 'Theme', $this )->get_theme_configs();

		$repos = array_merge( $plugins, $themes );
		$gits  = array_map(
			function ( $e ) {
				if ( ! empty( $e->enterprise ) ) {
					if ( 'bitbucket' === $e->git ) {
						return 'bbserver';
					}
					if ( 'gitlab' === $e->git ) {
						return 'gitlabce';
					}
				}

				return $e->git;
			},
			$repos
		);

		return array_unique( array_values( $gits ) );
	}
public function get_running_git_servers() {
		$plugins = Singleton::get_instance( 'Plugin', $this )->get_plugin_configs();
		$themes  = Singleton::get_instance( 'Theme', $this )->get_theme_configs();

		$repos = array_merge( $plugins, $themes );
		$gits  = array_map(
			function ( $e ) {
				if ( ! empty( $e->enterprise ) ) {
					if ( 'bitbucket' === $e->git ) {
						return 'bbserver';
					}
					if ( 'gitlab' === $e->git ) {
						return 'gitlabce';
					}
				}

				return $e->git;
			},
			$repos
		);

		return array_unique( array_values( $gits ) );
	}
public function get_running_git_servers ( ) { $ plugins = Singleton :: get_instance ( 'Plugin' , $ this ) -> get_plugin_configs ( ) ; $ themes = Singleton :: get_instance ( 'Theme' , $ this ) -> get_theme_configs ( ) ; $ repos = array_merge ( $ plugins , $ themes ) ; $ gits = array_map ( function ( $ e ) { if ( ! empty ( $ e -> enterprise ) ) { if ( 'bitbucket' === $ e -> git ) { return 'bbserver' ; } if ( 'gitlab' === $ e -> git ) { return 'gitlabce' ; } } return $ e -> git ; } , $ repos ) ; return array_unique ( array_values ( $ gits ) ) ; }
Return an array of the running git servers.

@access public
@return array $gits
Return an array of the running git servers .