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

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_f73dab606630b388645c4" . "f7d3fbb13bb" => base64_decode("YXJyYXlfb" . "WVyZ2U="));




class ContainersCollection implements UsersContainerInterface
{
    protected $containers;
    public function __construct($_c215cd00a44d3b2a7f2b40b96f3aaa9f = [])
    {
        $this->containers = $_c215cd00a44d3b2a7f2b40b96f3aaa9f;
    }
    public function AddContainer(UsersContainerInterface $_5e4594441b0e531bfd6f0011e0327611)
    {
        $this->containers[] = $_5e4594441b0e531bfd6f0011e0327611;
    }
    public function GetMembers()
    {
        $_e4543e131c67c631b14751cc849d1310 = [];
        foreach ($this->containers as $_5e4594441b0e531bfd6f0011e0327611) {
            
            
            $_e4543e131c67c631b14751cc849d1310 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_f73dab606" . "630b388645" . "c4f7d3fbb1" . "3bb"]($_e4543e131c67c631b14751cc849d1310, $_5e4594441b0e531bfd6f0011e0327611->GetMembers());
        }
        
        
        return $_e4543e131c67c631b14751cc849d1310;
    }
    public function IsMember($_c031077013afa9973ad3516e1ad65118)
    {
        foreach ($this->containers as $_5e4594441b0e531bfd6f0011e0327611) {
            
            
            if ($_5e4594441b0e531bfd6f0011e0327611->IsMember($_c031077013afa9973ad3516e1ad65118)) {
                return true;
            }
        }
        return false;
    }
}