<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: array()) + array("_3f03133cbe" . "794637b2d30" . "fe02736ac25" => base64_decode("TWFuYWdlc" . "iBkb2VzIG" . "5vdCBleGl" . "zdA=="), "_6d071c0418b0a405ddf1ffd0357755" . "79" => base64_decode("VXNlciB" . "kb2VzIG" . "5vdCBle" . "GlzdA=="), "_f07ee16d1c" . "011fc613f38" . "3e2a8833144" => base64_decode("VXNlciBJRCBt" . "dXN0IGJlIG51" . "bWVyaWM="), "_62d701c3c53404f0" . "6345eb35720a47b4" => base64_decode("aXNfbnVtZXJpYw=" . "="), "_f1acb87c88" . "dcec9ed59dd" . "2dce11427c0" => base64_decode("TWFuYWdlciBJRC" . "BtdXN0IGJlIG51" . "bWVyaWM="));
use Claromentis\People\Exception\ValidationException;
use Claromentis\People\Repository\UserRepository;
class ValidateSetManager
{
    
    
    
    
    protected $repository;
    public function __construct(UserRepository $repository)
    {
        $this->repository = $repository;
    }
    
    
    
    
    
    
    public function Validate($user_id, $_b324f64f5346fe6cd20483e208d94430)
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_62d701c3c5" . "3404f06345e" . "b35720a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_f07ee16d1c011fc613f383e2" . "a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_62d701c3c53404f06345eb35720a47" . "b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_f1acb87" . "c88dcec9" . "ed59dd2d" . "ce11427c" . "0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_6d071c0418b0a405ddf1ffd035775" . "579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_3f03133cbe794637b2d30fe02736a" . "c25"]);
        }
    }
}