HEX
Server: nginx/1.27.0
System: Linux 20d173156d2c 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-all-export-pro/src/Controller/BaseController.php
<?php

namespace Wpae\Controller;


use Wpae\Di\WpaeDi;
use Wpae\Security\AccessControl;

abstract class BaseController
{
    /** @var WpaeDi */
    private $container;

    public function __construct(WpaeDi $container)
    {
        $this->container = $container;
    }

    protected function getContainer()
    {
        return $this->container;
    }

    /**
     * //TODO: Add in container
     * @return AccessControl
     */
    public function getAccessControl()
    {
        return new AccessControl();
    }
}