Skip to content
  • This project
    • Loading...
  • Sign in

MSF / msf-climate-hub

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • msf-climate-hub
  • wp-content
  • plugins
  • wordpress-seo
  • admin
  • roles
  • class-role-manager-factory.php
  • Jeff Balicki's avatar
    seo plugin · 1033ac36 ...
    1033ac36
    Signed-off-by: Jeff <jeff@gotenzing.com>
    Jeff Balicki committed 2023-07-31 17:47:28 -0400
class-role-manager-factory.php 383 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\Roles
 */

/**
 * Role Manager Factory.
 */
class WPSEO_Role_Manager_Factory {

	/**
	 * Retrieves the Role manager to use.
	 *
	 * @return WPSEO_Role_Manager
	 */
	public static function get() {
		static $manager = null;

		if ( $manager === null ) {
			$manager = new WPSEO_Role_Manager_WP();
		}

		return $manager;
	}
}