<?php
namespace Claromentis\People\UseCase;

$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: 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);
    }
}