<?php
namespace Claromentis\People\Validator;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: array()) + array("_62d701c3c534" . "04f06345eb357" . "20a47b4" => base64_decode("aXNfbnVtZ" . "XJpYw=="), "_f07ee16d1c011fc613f383e2a883" . "3144" => base64_decode("VXNlciBJRCBtdXN0IGJl" . "IG51bWVyaWM="), "_3f03133cbe794637b2d30fe027" . "36ac25" => base64_decode("TWFuYWdlciBkb2VzIG5v" . "dCBleGlzdA=="), "_6d071c0418b0a405ddf1ffd03577557" . "9" => base64_decode("VXNlciBk" . "b2VzIG5v" . "dCBleGlz" . "dA=="), "_f1acb87c88dcec9ed59dd2" . "dce11427c0" => base64_decode("TWFuYWdlciBJRCBtdXN0IGJlIG51" . "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["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_62d701c3c53404" . "f06345eb35720a4" . "7b4"]($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_f07ee16d1c" . "011fc613f38" . "3e2a8833144"]);
        }
        if (!$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_62d701c3c53404f06345eb35720a" . "47b4"]($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_f1acb87c88dcec9e" . "d59dd2dce11427c0"]);
        }
        if (!$this->repository->find($user_id)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_6d071c0418b0a405ddf1ffd" . "035775579"]);
        }
        if (!$this->repository->find($_b324f64f5346fe6cd20483e208d94430)) {
            throw new ValidationException($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_3f03133cbe794637b2d30" . "fe02736ac25"]);
        }
    }
}