EP_Config::factory PHP Метод

factory() публичный статический Метод

Get a singleton instance of the class
С версии: 0.1.0
public static factory ( ) : EP_Config
Результат EP_Config
    public static function factory()
    {
        static $instance = false;
        if (!$instance) {
            $instance = new self();
        }
        return $instance;
    }

Usage Example

function ep_get_network_alias()
{
    return EP_Config::factory()->get_network_alias();
}
All Usage Examples Of EP_Config::factory