<?php
namespace Claromentis\People\UseCase;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] ?: 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);
    }
}