<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_3f03133cbe" . "794637b2d30" . "fe02736ac25" => base64_decode("TWFuYWdlciBkb2VzIG" . "5vdCBleGlzdA=="), "_f1acb87c88dcec" . "9ed59dd2dce1142" . "7c0" => base64_decode("TWFuYWdlciBJRCBtdXN0IGJlIG51bWVyaWM" . "="), "_62d701c3c53404f06345e" . "b35720a47b4" => base64_decode("aXNf" . "bnVt" . "ZXJp" . "Yw=="), "_6d071c04" . "18b0a405d" . "df1ffd035" . "775579" => base64_decode("VXNlciBkb2VzIG5v" . "dCBleGlzdA=="), "_f07ee16d1c011fc613f383e2a88331" . "44" => base64_decode("VXNlciBJRCBtd" . "XN0IGJlIG51bW" . "VyaWM="));
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["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_62d701c3c53404f063" . "45eb35720a47b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_f07ee16d1c011fc613f383e2a88" . "33144"]);
        }
        if (!$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_62d701c3c53404f06345eb" . "35720a47b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_f1acb87c88dcec" . "9ed59dd2dce1142" . "7c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_6d071c0418b0a405" . "ddf1ffd035775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_3f03133cbe7946" . "37b2d30fe02736a" . "c25"]);
        }
    }
}