Plugin_Factory
Factory to create/return the shared plugin instance.
Tags
Table of Contents
Properties
$plugin
private
static mixed
$plugin
= null
Methods
create()
Create/return the shared plugin instance.
public
static create(string $file, string $version) : Plugin
Parameters
- $file : string
-
The main plugin file.
- $version : string
-
The plugin version.
Return values
Plugin —The shared plugin instance.