public function __construct(ModuleContainer $moduleContainer, $config = [], WordPressConnector $client = null) { parent::__construct($moduleContainer, $config); $this->ensureWpRoot(); $this->adminPath = $this->config['adminPath']; $this->client = $client; }