<?php
namespace Claromentis\People\UseCase;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: 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);
    }
}