<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] ?: array()) + array("_6d071c0418b0a40" . "5ddf1ffd03577557" . "9" => base64_decode("VXNlciBkb" . "2VzIG5vdC" . "BleGlzdA=" . "="), "_f07ee16d1c011fc613f38" . "3e2a8833144" => base64_decode("VXNlciBJRCBtdXN0IGJlIG" . "51bWVyaWM="), "_f1acb87c88" . "dcec9ed59dd" . "2dce11427c0" => base64_decode("TWFuYWdlciBJRCB" . "tdXN0IGJlIG51bW" . "VyaWM="), "_62d701c3c53404f06345eb35" . "720a47b4" => base64_decode("aXNfbnVtZXJpYw" . "=="), "_3f03133cbe794637b2" . "d30fe02736ac25" => base64_decode("TWFuYWdlciBkb2VzIG5vdCBleGlzdA=" . "="));
use Claromentis\People\Exception\ValidationException;
use Claromentis\People\Repository\UserRepository;
class ValidateSetManager
{
    
    
    
    
    protected $repository;
    public function __construct(UserRepository $_8652ba33e6ffeba02459fa9cbb320851)
    {
        $this->repository = $_8652ba33e6ffeba02459fa9cbb320851;
    }
    
    
    
    
    
    
    public function Validate($user_id, $_b324f64f5346fe6cd20483e208d94430)
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_62d701c3c" . "53404f0634" . "5eb35720a4" . "7b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_f07ee16" . "d1c011fc" . "613f383e" . "2a883314" . "4"]);
        }
        if (!$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_62d701c3c53404f06345eb3572" . "0a47b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f1acb87c88dcec9ed59d" . "d2dce11427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_6d071c0418b" . "0a405ddf1ffd" . "035775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_3f03133cbe794637b2d3" . "0fe02736ac25"]);
        }
    }
}