<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_6d071c0" . "418b0a40" . "5ddf1ffd" . "03577557" . "9" => base64_decode("VXNlciBkb2VzIG5vdCB" . "leGlzdA=="), "_f07ee16d1c011fc613f383e2a88331" . "44" => base64_decode("VXNlciBJRCBtdXN0IGJlIG51" . "bWVyaWM="), "_f1acb87c88dcec9ed59dd2dce1142" . "7c0" => base64_decode("TWFuYWdlciBJRCBtdXN0IGJlIG51bWVy" . "aWM="), "_3f03133cbe794637b2d" . "30fe02736ac25" => base64_decode("TWFuYWdlciBkb2VzIG5" . "vdCBleGlzdA=="), "_62d701c3c53404f" . "06345eb35720a47b" . "4" => base64_decode("aXNfbnVtZ" . "XJpYw=="));
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["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_62d701c3c53" . "404f06345eb3" . "5720a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_f07ee16d1c011fc613f3" . "83e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_62d701c3c53" . "404f06345eb3" . "5720a47b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_f1acb87c88dcec9ed59dd2dce11427c" . "0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_6d071c04" . "18b0a405d" . "df1ffd035" . "775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_3f03133cbe794637b2d30fe" . "02736ac25"]);
        }
    }
}