Networking\InitCmsBundle\Admin\Model\UserAdmin::postUpdate PHP Метод

postUpdate() публичный Метод

public postUpdate ( $object )
    public function postUpdate($object)
    {
        $securityContext = $this->getConfigurationPool()->getContainer()->get('security.context');
        if ($object == $securityContext->getToken()->getUser()) {
            $this->getRequest()->getSession()->set('admin/_locale', $object->getLocale());
        }
    }