Plugin_Factory
Factory to return the shared plugin instance.
Tags
Table of Contents
Properties
$plugin
private
static mixed
$plugin
= null
Methods
create()
Creates or returns the plugin instance.
public
static create(string $file, float $version) : Plugin
Parameters
- $file : string
- $version : float