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