PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.0.0.2
JetFormBuilder — Dynamic Blocks Form Builder v3.0.0.2
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 1.1.2 1.1.3 1.1.4 1.1.5 All 130 releases
jetformbuilder / includes / admin / vui-boxes / boxes-repository.php
boxes-repository.php
34 lines 592 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace Jet_Form_Builder\Admin\Vui_Boxes;
5
6
7 use Jet_Form_Builder\Classes\Repository\Repository_Pattern_Trait;
8
9 class Boxes_Repository {
10
11 use Repository_Pattern_Trait;
12
13 public function rep_instances(): array {
14 return array();
15 }
16
17 /**
18 * @return Base_Vui_Box[]
19 */
20 public function get_boxes(): array {
21 return $this->rep_get_items();
22 }
23
24 /**
25 * @param Base_Vui_Box $box
26 *
27 * @return Boxes_Repository
28 */
29 public function register_box( Base_Vui_Box $box ): Boxes_Repository {
30 $this->rep_install_item_soft( $box );
31
32 return $this;
33 }
34 }