Browse
For agents
About
WEBKINDER Integration for Google Analytics and Google Tag Manager
/
trunk
WEBKINDER Integration for Google Analytics and Google Tag Manager
vtrunk
Switch version
trunk
1.0
1.1
1.10.0
1.10.1
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
1.11.6
1.2
1.3
1.4
1.5
1.6
1.6.1
1.6.2
1.7.1
1.7.1beta
1.7.2
1.7.3
1.8.0
1.8.1
All 36 releases
Overview
Code
wk-google-analytics
/
lib
/
PluginFactory.php
PluginFactory.php
in WEBKINDER Integration for Google Analytics and Google Tag Manager trunk, at lib/PluginFactory.php
20 lines
294 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
namespace
WebKinder
\
GoogleAnalytics
;
4
5
final
class
PluginFactory
6
{
7
8
//
Create and return instance of Plugin if it passes all checks
9
public
static
function
create
(
)
10
{
11
static
$
plugin
=
null
;
12
13
if
(
$
plugin
===
null
)
{
14
$
plugin
=
new
Plugin
(
)
;
15
}
16
17
return
$
plugin
;
18
}
19
}
20