public function optimize (stdClass $data)
    {
        $data->formValidationName = $data->serviceName . 'Validator';
        $data->formValidationNameSpace = str_replace ('\\http\\controllers', '\\validators', $data->controllerNamespace);
        $data->formValidationDestination = str_replace ('/http/controllers', '/validators', $data->controllerDestination) . '/' . $data->formValidationName . '.php';

        if (isset($data->mainModel->multiLanguage)) {
            $data->formTranslationsValidationName = $data->serviceName . 'TranslationsValidator';
            $data->formTranslationsValidationDestination = str_replace ('/http/controllers', '/validators', $data->controllerDestination) . '/' . $data->formTranslationsValidationName . '.php';
        }

        return $data;
    }