• File: class-role-manager-factory.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager-factory.php
  • Date Modified: 02/24/2024 11:29 PM
  • File size: 383 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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;
    }
}