protected function registerUserField()
    {
        $this->app->bind('themosis.user.field', function ($app) {
            $viewFactory = $app['view'];
            $viewFactory->addLocation(__DIR__.'/views');

            return new UserField(
                new FieldsRepository(),
                $app['action'],
                $viewFactory,
                $app['validator']
            );
        });
    }