<?php
namespace Claromentis\People\UseCase;

$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array();
use Claromentis\Core\Security\SecurityContext;
class UpdateCurrentUser
{
    
    
    
    
    protected $update_user;
    public function __construct(UpdateUser $update_user)
    {
        $this->update_user = $update_user;
    }
    
    
    
    
    
    
    
    
    
    public function Update(SecurityContext $context, array $data)
    {
        $id = $context->GetUserId();
        return $this->update_user->Update($context, $id, $data);
    }
}