Browse
For agents
About
Age Gate
/
3.7.3
Age Gate
v3.7.3
Switch version
3.7.3
trunk
1.0.0
1.0.1
1.1.0
1.2.0
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.4.0
1.4.1
1.4.10
1.4.11
1.4.12
1.4.13
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
All 113 releases
Overview
Code
age-gate
/
src
/
Presentation
/
Attribute.php
Attribute.php
in Age Gate 3.7.3, at src/Presentation/Attribute.php
25 lines
374 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
AgeGate
\
Presentation
;
4
5
class
Attribute
6
{
7
use
ClassNames
;
8
9
private
static
$
instance
=
null
;
10
11
private
function
__construct
(
)
12
{
13
self
::
formatClasses
(
)
;
14
}
15
16
public
static
function
getInstance
(
)
17
{
18
if
(
self
::
$
instance
===
null
)
{
19
self
::
$
instance
=
new
self
;
20
}
21
22
return
self
::
$
instance
;
23
}
24
}
25