<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("_f07ee16d1c011fc613f383e2a88331" . "44" => base64_decode("VXNlciBJR" . "CBtdXN0IG" . "JlIG51bWV" . "yaWM="), "_3f03133cbe79" . "4637b2d30fe02" . "736ac25" => base64_decode("TWFuYWdlciBkb2VzIG5vdCBleGl" . "zdA=="), "_62d701c3" . "c53404f06" . "345eb3572" . "0a47b4" => base64_decode("aXNfbnVtZXJp" . "Yw=="), "_f1acb87c88dcec9ed59dd2dce1" . "1427c0" => base64_decode("TWFuYWdlciBJRCBtdXN0IG" . "JlIG51bWVyaWM="), "_6d071c0418b" . "0a405ddf1ffd" . "035775579" => base64_decode("VXNlciBkb2VzIG5vdCB" . "leGlzdA=="));
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["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_62d701c3c53404f06345eb35720a47b" . "4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_f07ee16d1c011fc6" . "13f383e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_62d701c3c53404f06345e" . "b35720a47b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_f1acb87c" . "88dcec9ed" . "59dd2dce1" . "1427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6d071c0418b0a405ddf1ff" . "d035775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_3f03133c" . "be794637b" . "2d30fe027" . "36ac25"]);
        }
    }
}