<?php
namespace Claromentis\Core\User\Directory;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_7b76ffa" . "5ceb70a6" . "c6715447" . "3f9d9cab" . "8" => base64_decode("VW5rbm93biB1c2VycyBkaXJlY3Rvcnkgd" . "HlwZSAn"), "_e608e5b5c4c34a67ba97ef8" . "4c1e16199" => base64_decode("Jw=" . "="));
use Claromentis\Core\User\Directory\Exception\UnknownDirectoryException;
use Pimple\Container;




class DirectoryBuilder
{
    protected $container;
    protected $service_prefix;
    public function __construct(Container $app, $_cdcba1fb4b414de608b5f1b184890da6)
    {
        $this->container = $app;
        $this->service_prefix = $_cdcba1fb4b414de608b5f1b184890da6;
    }
    
    
    
    
    
    
    
    
    
    public function Build(string $type, array $options) : UsersDirectoryInterface
    {
        if (!isset($this->container[$this->service_prefix . $type])) {
            throw new UnknownDirectoryException($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_7b76ffa" . "5ceb70a6" . "c6715447" . "3f9d9cab" . "8"] . $type . $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_e608e5b5c4c34a67ba" . "97ef84c1e16199"]);
        }
        $factory = $this->container[$this->service_prefix . $type];
        $_4a92477f9348babb15c20a0ca0f9073b = $factory($options);
        
        
        return $_4a92477f9348babb15c20a0ca0f9073b;
    }
}