Edit file File name : LdapConfiguration.php Content :<?php /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Configuration; final class LdapConfiguration { private $configuration; public function __construct(SystemConfiguration $configuration) { $this->configuration = $configuration; } public function isActivated(): bool { return $this->configuration->isLdapActive(); } public function getRoleParameters(): array { return $this->configuration->getLdapRoleParameters(); } public function getUserParameters(): array { return $this->configuration->getLdapUserParameters(); } public function getConnectionParameters(): array { return $this->configuration->getLdapConnectionParameters(); } } Save