PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / trunk
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel vtrunk
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / src / Controller / BaseController.php
wp-all-export / src / Controller Last commit date
BaseController.php 9 years ago
BaseController.php
32 lines
1 <?php
2
3 namespace Wpae\Controller;
4
5
6 use Wpae\Di\WpaeDi;
7 use Wpae\Security\AccessControl;
8
9 abstract class BaseController
10 {
11 /** @var WpaeDi */
12 private $container;
13
14 public function __construct(WpaeDi $container)
15 {
16 $this->container = $container;
17 }
18
19 protected function getContainer()
20 {
21 return $this->container;
22 }
23
24 /**
25 * //TODO: Add in container
26 * @return AccessControl
27 */
28 public function getAccessControl()
29 {
30 return new AccessControl();
31 }
32 }