Browse
For agents
About
JetFormBuilder — Dynamic Blocks Form Builder
/
3.6.6
JetFormBuilder — Dynamic Blocks Form Builder
v3.6.6
Switch version
3.6.6.1
3.6.6
3.6.5.4
3.6.5.3
3.6.5.2
3.6.5.1
3.6.5
3.6.4.2
3.6.4.1
3.6.4
3.6.3.1
3.6.3
3.6.2.2
3.6.2.1
3.6.2
3.6.1.1
3.6.1
3.6.0.1
trunk
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
All 134 releases
Overview
Code
jetformbuilder
/
components
/
admin
/
vui-boxes
/
traits
/
with-boxes-trait.php
with-boxes-trait.php
in JetFormBuilder — Dynamic Blocks Form Builder 3.6.6, at components/admin/vui-boxes/traits/with-boxes-trait.php
26 lines
385 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
4
namespace
JFB_Components
\
Admin
\
Vui_Boxes
\
Traits
;
5
6
use
JFB_Components
\
Admin
\
Vui_Boxes
\
Boxes_Repository
;
7
8
//
If this file is called directly, abort.
9
if
(
!
defined
(
'
WPINC
'
)
)
{
10
die
;
11
}
12
13
trait
With_Boxes_Trait
{
14
15
private
$
boxes
;
16
17
public
function
boxes
(
)
:
Boxes_Repository
{
18
if
(
!
$
this
->
boxes
)
{
19
$
this
->
boxes
=
new
Boxes_Repository
(
)
;
20
}
21
22
return
$
this
->
boxes
;
23
}
24
25
}
26