<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] ?: array()) + array("_3f03133cbe794637b2d30f" . "e02736ac25" => base64_decode("TWFuYWdl" . "ciBkb2Vz" . "IG5vdCBl" . "eGlzdA=="), "_f07ee16d1c011fc613" . "f383e2a8833144" => base64_decode("VXNlciBJRCBtdXN0IGJlIG" . "51bWVyaWM="), "_f1acb87c88dcec9ed5" . "9dd2dce11427c0" => base64_decode("TWFuYWdlciBJ" . "RCBtdXN0IGJl" . "IG51bWVyaWM="), "_62d701c3c53404f06345eb" . "35720a47b4" => base64_decode("aXNfbnVtZXJ" . "pYw=="), "_6d071c0418b0a405" . "ddf1ffd035775579" => base64_decode("VXNlciBkb2VzIG5vdCBleGlzdA" . "=="));
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["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_62d701c3c534" . "04f06345eb357" . "20a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_f07ee16d1c011fc613f38" . "3e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_62d701c3c53404f06345eb35720a47b" . "4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_f1acb87c88dcec9ed5" . "9dd2dce11427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_6d071c0418b0a405ddf1ffd0357755" . "79"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_3f03133cbe794637b2d" . "30fe02736ac25"]);
        }
    }
}