<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_62d701c3c53404f06345eb3572" . "0a47b4" => base64_decode("aXNf" . "bnVt" . "ZXJp" . "Yw=="), "_f07ee16d1c" . "011fc613f38" . "3e2a8833144" => base64_decode("VXNlciBJRCBt" . "dXN0IGJlIG51" . "bWVyaWM="), "_f1acb87c88dcec9ed59" . "dd2dce11427c0" => base64_decode("TWFuYWdlciBJRCBtd" . "XN0IGJlIG51bWVyaW" . "M="), "_3f03133cbe794637b2d30" . "fe02736ac25" => base64_decode("TWFuYWdlciBkb2VzIG5v" . "dCBleGlzdA=="), "_6d071c0418b0a405ddf1ffd035775" . "579" => base64_decode("VXNlciBkb2V" . "zIG5vdCBleG" . "lzdA=="));
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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_62d701c3c53404f06345eb" . "35720a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_f07ee16d1c011fc6" . "13f383e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_62d701c" . "3c53404f" . "06345eb3" . "5720a47b" . "4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f1acb87c88dcec9ed5" . "9dd2dce11427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_6d071c0418b0a4" . "05ddf1ffd035775" . "579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_3f03133cbe794637b2d30fe02736a" . "c25"]);
        }
    }
}