for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace eZ\Publish\Core\Repository\SiteAccessAware\Config;
use eZ\Publish\Core\IO\IOConfigProvider;
* @internal
final class IOConfigResolver implements IOConfigProvider
{
/** @var string */
private $storageDir;
private $legacyUrlPrefix;
private $urlPrefix;
public function __construct(
string $storageDir,
string $legacyUrlPrefix,
string $urlPrefix
) {
$this->storageDir = $storageDir;
$this->legacyUrlPrefix = $legacyUrlPrefix;
$this->urlPrefix = $urlPrefix;
}
public function getRootDir(): string
return $this->storageDir;
public function getLegacyUrlPrefix(): string
return $this->legacyUrlPrefix;
public function getUrlPrefix(): string
return $this->urlPrefix;